include vmm.inc mov eax, Interrupt ; number of interrupt to check VMMcall Get_V86_Int_Vector mov [Segment], cx ; segment address for interrupt routine mov [Offset], edx ; offset to interrupt routine |
The Get_V86_Int_Vector service returns the address of the interrupt routine for the specified real-mode interrupt in the current virtual machine.
Interrupt
Specifies the number of the interrupt to check.
The CX register contains the segment address of the interrupt routine and the EDX register contains the offset of the interrupt routine (the high word is always zero).
ECX, EDX, Flags