Date: Sun, 9 Jun 1996 15:56:50 +0200 (IST) From: Eli Zaretskii To: Chris Grubb Cc: djgpp AT delorie DOT com Subject: Re: inline asm In-Reply-To: <31B8B160.6779@ccm.tdsnet.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 7 Jun 1996, Chris Grubb wrote: > i'm used to pascal inline assembly..so could someone show me how I would convert this: > > asm { > mov ax,0x13; > int 0x10; > } > > into something djgpp could compile? thanks You will have to study the GCC inline assembly facilities. They are described in the GCC on-line docs (type "info gcc" from the DOS prompt). The syntax is very different (also much more powerful, since there is a way to get inline assembly *and* optimizations), and are too much to described here.