Mail Archives: djgpp/1996/11/09/17:08:50
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 -