[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

80x86 assembler in GCC/GNU as



I've read in the GNU info tree that on intel 80x86 based platforms (Linux, FreeBSD, Solaris x86) the GNU assembler is compatible with the assembler of some other intel platform, and therefore differs from the 80x86 assembler which is usually found in TASM, MASM and other compilers for DOS or Win32. 

What it means for the programmer is that in order to assign the value of the BX register into the AX register one would have to use "mov bx, ax" rather than "mov ax, bx" and there are other changes as well.

Is that true? If so, is there anyway to bypass that in GNU C? Is there a different Assembly compiler for Linux that recognizes the standard 86 syntax? (What about the one that comes with the RH 4.1 distribution?)

	Shlomi Fish