Mail Archives: djgpp/1997/02/01/20:59:03
[Posted and mailed]
> When I try to compile this code, it tells me "not a known 386
> instruction". I don't know which two lines they are (I'm using RHIDE),
> "pusha \n"
> "movl %%ebx, %%ds \n" // load up the values in the
> "movl %%eax, %%es \n" // segment regs.
my guess is these 2 lines above. you probably don't want to move a value like
this :) actually why are you doing it like this? i think you can pass the
values directly into the inline without having to move them can't you?
ok i admit i don't know the letter to use tho ;)
but ds is 16bits wide and ebx eax are 32bit, so use movw %%bx,%ds instead
or try passing the values into the inline.
hope that's some use :)
regards,
nik
Graham Tootell
nikki AT gameboutique DOT com
- Raw text -