|
|
|
@ -34,8 +34,8 @@ GLOBL __do_bios_int
|
|
|
|
|
pop %edx // '4 (44 <- 48)
|
|
|
|
|
pop %eax // '3 (40 <- 44)
|
|
|
|
|
|
|
|
|
|
pop %es // '2 (38 <- 40)
|
|
|
|
|
pop %ds // '2 (36 <- 38)
|
|
|
|
|
pop %ds // '2 (38 <- 40)
|
|
|
|
|
pop %es // '2 (36 <- 38)
|
|
|
|
|
|
|
|
|
|
/* call that polymorphism! */
|
|
|
|
|
.byte 0xcd /* opcode for `int imm8` */
|
|
|
|
@ -44,8 +44,8 @@ GLOBL __bios_int_number, object
|
|
|
|
|
|
|
|
|
|
/* be careful not to touch EFLAGS now because that's our return value */
|
|
|
|
|
|
|
|
|
|
push %ds // '2 (36 -> 38)
|
|
|
|
|
push %es // '2 (38 -> 40)
|
|
|
|
|
push %es // '2 (36 -> 38)
|
|
|
|
|
push %ds // '2 (38 -> 40)
|
|
|
|
|
|
|
|
|
|
push %eax // '3 (40 -> 44)
|
|
|
|
|
push %edx // '4 (44 -> 48)
|
|
|
|
|