Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3014ECA1A@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Marker Date: Fri, 16 Jul 1999 09:53:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Andy Goth writes: > I read that the "asm" keyword is new for C++. However, I see > inline assembly in Allegro. Hmm. Is this a deviation > from the standard? Inline assembly is non-standard by definition: it is a way to temporarily step outside whatever language you are using. Various ANSI specs do say something about asm as a keyword (I forget exactly what), but that is really somewhat stupid given that what you write after the asm is so very platform specific. >> asm volatile("jmp 0f; .string \"Hello, world\"; 0:"); > > Is that really jmp 0f? It's a local label. See 'info as symbols "symbol names"'. Shawn Hargreaves.