-masm=intel examples

Marek Peteraj marpet@naex.sk
Sat May 15 09:09:00 GMT 2004


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?

thanks

Marek



More information about the Gcc mailing list