Mail Archives: djgpp/1997/10/10/19:56:29
At 11:33 10/10/1997 +1000, Robert Bilton wrote:
>I Have A Problem, I LOVE Doing Assembly In The Middle Of My Code, And
>Often I Need To Do Interrupts With It, Eg SVGA PutPixel Etc...
>
>Just One Problem...
>
>How Do I Call Interrupts From Within An Inline ASM Statement With
>DJGPP??
>
>Couldn't Find ANYTHING On It, Found FAQ's Saying About The %% Addressing
>And The AT&T Byte Order Etc, But Nothing On Interupts...
>
>ANY Help Is VERY Muchly Appreciated...
Use this syntax:
int $0x10
inside your inline statement. In the AT&T syntax, immediate values are
preceded by a $ sign, and use C-style hex/decimal numbers.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -