diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-29 18:31:17 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-29 18:31:17 -0700 |
commit | 1afc882890399d70926a09036f4e66c33b3972cc (patch) | |
tree | c1e6638aea966b49d5d355fc55acca64e63a55b1 /apps/factorial.subx | |
parent | 690fa191f1533379a21ae9f0253f80068ad1a800 (diff) | |
download | mu-1afc882890399d70926a09036f4e66c33b3972cc.tar.gz |
6596
Diffstat (limited to 'apps/factorial.subx')
-rw-r--r-- | apps/factorial.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/factorial.subx b/apps/factorial.subx index d5882887..74e4dd6d 100644 --- a/apps/factorial.subx +++ b/apps/factorial.subx @@ -68,12 +68,12 @@ $run-main: 68/push 0/imm32/read 68/push 0/imm32/write 89/copy 3/mod/direct 1/rm32/ecx . . . 4/r32/esp . . # copy esp to ecx - # print-int32-decimal(buffer, eax) + # write-int32-decimal(buffer, eax) # . . push args 50/push-eax 51/push-ecx # . . call - e8/call print-int32-decimal/disp32 + e8/call write-int32-decimal/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # write-stream(stderr, buffer) |