include vmm.inc mov cx, Segment ; segment containing procedure to jump to mov edx, Offset ; offset to procedure to jump to VMMcall Simulate_Far_Jmp |
The Simulate_Far_Jmp service simulates a far jump to a procedure in the current virtual machine. This service sets the Client_CS and Client_IP registers to the specified address. When the virtual machine resumes execution (such as when the Resume_Exec service is called), the system executes the specified procedure.
Segment
Specifies the segment selector or address of the code segment containing the procedure to jump to.
Offset
Specifies the offset, relative to the beginning of the given segment, to the procedure to jump to. If the code segment is a 16-bit segment, the high word must be zero.
This service has no return value.
Client_CS, Client_EIP, Flags