Simulate_Far_Ret


include vmm.inc

VMMcall Simulate_Far_Ret

Simulates a far return in the current virtual machine. This service pops the top two words (or doublewords) from the stack of the current virtual machine, and copies these values to the Client_CS and Client_EIP or Client_IP registers. Uses Flags.

This services pops two word values from the stack if the segment containing the address is a 16-bit segment. Otherwise, this service pops two doubleword values.

See also Simulate_Far_Call, Simulate_Far_Ret_N