Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TASM NASM Differences

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi all,

i've bought a book about coding in assembler, which shows the use of MASM and TASM. But I use FreeBSD with NASM and I can't run the code from the book on NASM.
Does anyone know, how I can run the example codes, which is written for TASM/MASM, on NASM? Is a converter for [TM]ASM2NASM available?

Thx 4 help.
CU Dieter
 
Hi,
As much as I know there is nothing like a ASM2NASM
converter. You can read the documentation of NASM to know the differences. Porting is very easy and not as hard as you think, I've done it. All that you need to change are some of the assembler directives and the way addresses are written & your ported program should run with out a hitch.
 
Hi,
Well another thing is that MASM & TASM are especilly for
DOS so programs written in them can be compiled in NASM after a bit of porting but they won't work in FreeBSD.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top