Simulate_Pop

include vmm.inc

VMMcall Simulate_Pop

mov [Value], eax ; value popped from stack


The Simulate_Pop service returns the word or doubleword value at the top of the stack of the current virtual machine, and adds two or four to the Client_ESP register.

Parameters

This service has no parameters.

Return Value

The EAX register contains the value popped from virtual machine stack. The high word is zero if in V86 mode, or the virtual machine is running a 16-bit program.

Uses

Client_ESP, EAX, Flags

See Also

Simulate_Push