Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE336F611@probe-2.Acclaim-Euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Need ASM-Syntax to put code into one asm-instruction Date: Mon, 21 Dec 1998 15:08:31 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com 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.