update some of the dword stack macros

This commit is contained in:
2024-10-03 19:33:07 -04:00
parent 015def8d52
commit 27c41c8b0a

View File

@@ -244,9 +244,9 @@ endstruc
; ;
; first argument == starting offset from bp for lower 16bits ; first argument == starting offset from bp for lower 16bits
%macro MOV_DWORD_EAX 1 %macro MOV_DWORD_EAX 1
mov ax, [bp-(%1+2)] mov ax, [bp+(%1+2)]
shl eax, 16 shl eax, 16
mov ax, [bp-%1] mov ax, [bp+%1]
; eax contains dword from stack ; eax contains dword from stack
%endmacro %endmacro