diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-10-28 12:41:04 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-10-28 12:41:04 -0700 |
commit | 93be389bef09b8a93a5bb925871a95fd974eafcb (patch) | |
tree | e658cabe148bd19c03d2f4ad045b047d02e0a27f /subx/examples | |
parent | 425cd42b137bf5ed2269d696711f56cea21282ec (diff) | |
download | mu-93be389bef09b8a93a5bb925871a95fd974eafcb.tar.gz |
4731
Diffstat (limited to 'subx/examples')
-rw-r--r-- | subx/examples/ex11.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx index cd8cdf4d..dc804ebe 100644 --- a/subx/examples/ex11.subx +++ b/subx/examples/ex11.subx @@ -272,7 +272,7 @@ check-ints-equal: # (a : int, b : int, msg : (address array byte)) -> boolean 68/push "."/imm32 # call e8/call write-stderr/disp32 - # discard arg + # discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP # return eb/jump $check-ints-equal:end/disp8 @@ -285,14 +285,14 @@ $check-ints-equal:else: 51/push-ECX # call e8/call write-stderr/disp32 - # discard arg + # discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP # print newline # push args 68/push Newline/imm32 # call e8/call write-stderr/disp32 - # discard arg + # discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP $check-ints-equal:end: # restore registers |