c++ asm statement for MCGA mode
void MCGA() {
asm("movl $0x13 %ax");
asm("int $0x10");
}
this is my function to set MCGA mode...for somereason it wont compile, but i've looked at like, every single HOWTO on asm and c++ inline asm, and still can't figure out what i'm doing wrong.
the compiler is telling me this:
Error: suffix or operands invalid for `mov'
Does anyone know how I can fix this??
|