ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/09/17:08:50

Date: Sat, 9 Nov 1996 13:49:45 -0800 (PST)
From: Samuel Vincent <svincent AT cs DOT sonoma DOT edu>
To: Benjamin Zeiss <libertine AT t-online DOT de>
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: <Pine.GSO.3.94.961109134845.14090A-100000@zippy>
MIME-Version: 1.0

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019