From 27c41c8b0a5c1881c3dd3f7f1dc08f2c762dcc84 Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Thu, 3 Oct 2024 19:33:07 -0400 Subject: [PATCH] update some of the dword stack macros --- include/memory.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/memory.inc b/include/memory.inc index 77deb22..f9d157e 100755 --- a/include/memory.inc +++ b/include/memory.inc @@ -244,9 +244,9 @@ endstruc ; ; first argument == starting offset from bp for lower 16bits %macro MOV_DWORD_EAX 1 - mov ax, [bp-(%1+2)] + mov ax, [bp+(%1+2)] shl eax, 16 - mov ax, [bp-%1] + mov ax, [bp+%1] ; eax contains dword from stack %endmacro