Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Simulate_Pop
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Simulate_Pop
 
mov     [Value], eax        ; value popped from stack
 
The Simulate_Pop service returns the word or double-word value at the top of
the stack of the current virtual machine, and adds two or four to the
Client_ESP register.
 
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
 
EAX, Client_ESP, Flags
 
See Also
 
Simulate_Push