Mail Archives: djgpp/1998/12/21/10:12:20
Christian Hofrichter writes:
> How can I put it into one asm-instruction ?
> If I use the "normal" asm-syntax I can use "\n\t" but in extended
> asm-syntax this doesn't seem to work.
It should do: that method works fine for me. Actually you can use
either \n or a semicolon as the line separator: I think the
semicolon gives much nicer looking sources, but the generated
code will be more readable if you use \n, in case you ever
need to look at the output from -E (if you use semicolons, each
inline asm statement will be just on one very long line).
If you need to see some examples of working inline asm code,
look at the routines in sys/farptr.h or allegro.h.
Shawn Hargreaves.
- Raw text -