Message-Id: <199903172326.SAA12772@delorie.com> Comments: Authenticated sender is From: "George Foot" To: mrscreen AT hotmail DOT com (Heliophobe) Date: Wed, 17 Mar 1999 23:22:48 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: parse error before `{' CC: djgpp AT delorie DOT com X-mailer: Pegasus Mail for Win32 (v2.42a) Reply-To: djgpp AT delorie DOT com On 16 Mar 99 at 21:52, Heliophobe wrote: > It -should- be (though I'm not totally sure, since I don't use inline > asm much, and never access ports in asm): > > asm("outb %al,%dx"::"a" (value),"d" (port)); That looks almost right; you're using the extended form though so need two % signs before the register names, not just one. -- George