Pushad_Struc


include vmm.inc

Pushad_Struc struc
Pushad_EDI  dd  ?  ; EDI register at time of pushad
Pushad_ESI  dd  ?  ; ESI register at time of pushad
Pushad_EBP  dd  ?  ; EBP register at time of pushad
Pushad_ESP  dd  ?  ; ESP register at time of pushad
Pushad_EBX  dd  ?  ; EBX register at time of pushad
Pushad_EDX  dd  ?  ; EDX register at time of pushad
Pushad_ECX  dd  ?  ; ECX register at time of pushad
Pushad_EAX  dd  ?  ; EAX register at time of pushad
Pushad_Struc ends

Describes the stack frame built by the pushad instruction. Its typical uses are to reach back into a 'pushad' frame to recover a value that was saved in it, or to shove a value into it to be restored by a subsequent 'popad'.