[gnu.gcc] Extended ASM question

jrd@STONY-BROOK.SCRC.SYMBOLICS.COM (John R. Dunning) (09/25/88)

I'm trying to use the extended asm statement feature in GCC.  I have a
#define that describes how to push stuff on the stack and do a TRAP #1
(to do an operating system call on my 68000-powered Atari ST) which all
works fine.  The problem is that the TRAP returns its result in register
D0.  I can't figure out how to describe that fact (that the trap
instruction side-effects D0) to GCC.  Any hints?