Hi,
Is there any way to make gcc accept any other assembler syntax than the AT&T
syntax with the C asm macro?
Code:
 asm void foo(){}
Or C asm string statement?
Code:
 asm("asm-string")
I would like to compile asm code with this syntax:
Code:
 move.l  #0,D0
Wich is code for a motorola microprocessor. Gcc does'nt seem to accept any
asm with this syntax and as far as I have understood this is because gcc uses
AT&T asm syntax. The problem is that I have a lot of code written in this asm style
wich was compiled with the diab compiler but now I attempt to switch to gcc...

Any tips is helpfull