include vmm.inc
mov cx, Segment ; segment containing procedure
mov edx, Offset ; offset of procedure
VMMCall Simulate_Far_Jmp
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. Uses Client_CS, Client_EIP, Flags.
Simulate_Far_Call