about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-29 19:14:26 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-29 19:14:26 -0800
commitc5dfa89bb31bac8f03b646eaa3b5b204b854b2b9 (patch)
treeac75ebdc9f27d4e4a747a20511059225a0602340 /apps
parent796f3b70f264a13a48f8b0247a997f074e5995c3 (diff)
downloadmu-c5dfa89bb31bac8f03b646eaa3b5b204b854b2b9.tar.gz
7462 - SubX version of baremetal/ex2.subx
Diffstat (limited to 'apps')
-rwxr-xr-xapps/survey_baremetalbin51156 -> 51155 bytes
-rw-r--r--apps/survey_baremetal.subx2
2 files changed, 1 insertions, 1 deletions
diff --git a/apps/survey_baremetal b/apps/survey_baremetal
index 4b2b3046..879889b7 100755
--- a/apps/survey_baremetal
+++ b/apps/survey_baremetal
Binary files differdiff --git a/apps/survey_baremetal.subx b/apps/survey_baremetal.subx
index 7bc916e0..fbb79b68 100644
--- a/apps/survey_baremetal.subx
+++ b/apps/survey_baremetal.subx
@@ -1143,7 +1143,7 @@ $emit-output:emit-disp8:
     # emit-hex(out, *address - address-of-next-instruction, 1)
     # . . push args
     68/push  1/imm32
-    8b/copy                         1/mod/*+disp8   6/rm32/esi    .           .             .           0/r32/eax   8/disp8         .                 # copy *(esi+8) to eax
+    8b/copy                         0/mod/indirect  6/rm32/esi    .           .             .           0/r32/eax   .               .                 # copy *esi to eax
     29/subtract                     3/mod/direct    0/rm32/eax    .           .             .           3/r32/ebx   .               .                 # subtract ebx from eax
     50/push-eax
     ff          6/subop/push        1/mod/*+disp8   5/rm32/ebp    .           .             .           .           0xc/disp8       .                 # push *(ebp+12)