Mail Archives: djgpp/1997/07/28/18:03:38
Egg brains (eggbrains AT aol DOT com) wrote:
> for some reason, when ever i try to use 'int' in inline asm, it creates
> the error 'operands given don't match any known 386 instruction'...
^^^^^^^^
It seems to be no error with `int' itself but with its operand[s].
Things like "int $0x16" work well for me; maybe you forgot the `$'?
> ... does
> this mean i have to use a non-asm code like __dmpi_int or int86? and will
> that slow down the speed?
I am not sure about speed, but using these facilities is the cleaner way,
because you should not use real-mode interrupts directly from protected
mode unless you are knowing exactly what you are doing. ;-)
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
Reply e-mail to "uni-essen" http://home.pages.de/~peter.gerwinski/ [970201]
instead of "NO-SPAM-PLEASE". maintainer GNU Pascal [970714] kampi.hut.fi/gpc
Sorry for the inconvenience. http://home.pages.de/~gnu-pascal/ [970125]
- Raw text -