-masm=intel examples

Robert Dewar dewar@gnat.com
Sat May 15 09:46:00 GMT 2004


Marek Peteraj wrote:

Hi,

i'm trying to find out which syntax exactly gcc accepts with the
-masm=intel switch. I've googled for examples, grepped through
sourcecode files, but i haven't found any good example. Could anyone
provide a very simple -masm=intel .c example, which would move a hex
value into a register, using the intel/masm style assembler instead of
at&t/gas one?
Is there any reason to think that the syntax accepted is other
than the standard Intel syntax, as documented in the relevant
Intel manuals? Or are you just asking what this is?



More information about the Gcc mailing list