Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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