about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-23 23:32:38 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-23 23:32:38 -0700
commit92d8ef6c3b401e16da6e6389819f3d6f41602ba8 (patch)
tree9948848fc30fa26dce6170305e4c3f2c519fddec /subx
parentd27812594a85cbf6002cbe9e617b241eb00eedc1 (diff)
downloadmu-92d8ef6c3b401e16da6e6389819f3d6f41602ba8.tar.gz
4716
Diffstat (limited to 'subx')
-rw-r--r--subx/051test.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/051test.subx b/subx/051test.subx
index b2adf105..d291defe 100644
--- a/subx/051test.subx
+++ b/subx/051test.subx
@@ -7,12 +7,12 @@
 # 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
 
 # main:  (manual test if this is the last file loaded)
-  # check-ints-equal(34, 34) == 1
+  # check-ints-equal(34, 34)
   68/push  "error in check-ints-equal"/imm32
-  68/push  35/imm32
+  68/push  34/imm32
   68/push  34/imm32
   e8/call  check-ints-equal/disp32
-  81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
+  81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0xc/imm32         # add to ESP
   # syscall(exit, 0)
   bb/copy-to-EBX  0/imm32
   b8/copy-to-EAX  1/imm32