This code isn't supposed to do anything other than change to mode 13h then return control to dos. I'm using dev-c++ and am just trying to understand its inline asm syntax. Does anyone know what is wrong here?
int main(void){
__asm volatile("mov $0x00, %ah");
__asm volatile("mov $0x13, %al");
__asm volatile("int $0x10");
__asm volatile("mov $0x4c, %ah");
__asm volatile("mov $0x00, %al");
__asm volatile("int $0x21");
return 0;
}