about summary refs log tree commit diff stats
path: root/067parse-hex.subx
diff options
context:
space:
mode:
Diffstat (limited to '067parse-hex.subx')
-rw-r--r--067parse-hex.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/067parse-hex.subx b/067parse-hex.subx
index afbd6d6c..23270027 100644
--- a/067parse-hex.subx
+++ b/067parse-hex.subx
@@ -426,7 +426,7 @@ parse-hex-int-helper:  # start: (addr byte), end: (addr byte) -> result/eax: int
     # var curr/ecx: (addr byte) = start
     8b/copy                         1/mod/*+disp8   5/rm32/ebp    .           .             .           1/r32/ecx   8/disp8         .                 # copy *(ebp+8) to ecx
     # edx = max
-    8b/copy                         1/mod/*+disp8   5/rm32/ebp    .           .             .           2/r32/edx   0xc/disp8       .                 # copy *(ebp+0xc) to edx
+    8b/copy                         1/mod/*+disp8   5/rm32/ebp    .           .             .           2/r32/edx   0xc/disp8       .                 # copy *(ebp+12) to edx
     # var result/ebx: int = 0
     31/xor                          3/mod/direct    3/rm32/ebx    .           .             .           3/r32/ebx   .               .                 # clear ebx
     # var negate?/esi: boolean = false