diff options
-rw-r--r-- | subx/051test.subx | 6 |
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 |