Date: Sat, 9 Nov 1996 13:49:45 -0800 (PST) From: Samuel Vincent To: Benjamin Zeiss cc: djgpp AT delorie DOT com Subject: Re: waitretrace in inline asm...am i stupid ? In-Reply-To: <55oadv$cku@news00.btx.dtag.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE On 5 Nov 1996, Benjamin Zeiss wrote: > okay fellows, > i=B4m new to djgpp and therefore i=B4m in trouble with the inline > assembler. i tried something like >=20 > void retrace() > { > =09__asm(" > =09=09movl $0x3da, %%edx > =09=09loop: > =09=09inb %%dx,%%al > =09=09test %%al,$8 > =09=09jz loop > =09"); > } >=20 > so where=B4s the error ??? i already succeeded in writing setpalette > functions etc. but this simply doesn=B4t compile ?!?!? >=20 > thanks in advance for every answer. > regards, > Benjamin Zeiss, Germany Read the FAQ along with the info pages on gcc and do a search for "extended asm".. =20 -Sam