Path: utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!STONY-BROOK.SCRC.SYMBOLICS.COM!jrd From: jrd@STONY-BROOK.SCRC.SYMBOLICS.COM (John R. Dunning) Newsgroups: gnu.gcc Subject: Extended ASM question Message-ID: <19880925160526.3.JRD@MOA.SCRC.Symbolics.COM> Date: 25 Sep 88 16:05:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 6 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?