diff options
Diffstat (limited to 'subx/apps')
-rwxr-xr-x | subx/apps/crenshaw2-1 | bin | 2979 -> 2979 bytes | |||
-rw-r--r-- | subx/apps/crenshaw2-1.subx | 16 | ||||
-rwxr-xr-x | subx/apps/factorial | bin | 3006 -> 3006 bytes |
3 files changed, 8 insertions, 8 deletions
diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 index 52814a1d..840b93b4 100755 --- a/subx/apps/crenshaw2-1 +++ b/subx/apps/crenshaw2-1 Binary files differdiff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx index 2d7921ce..6678f599 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -50,36 +50,36 @@ abort: # s : (address array byte) -> <void> # print out "Error: #{s} expected\n" to stderr error: # s : (address array byte) -> <void> - # _write(2/stderr, "Error: ") + # write(2/stderr, "Error: ") # push args 68/push "Error: "/imm32 68/push 2/imm32/stderr # call - e8/call _write/disp32 + e8/call write/disp32 # discard arg 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP - # _write(2/stderr, s) + # write(2/stderr, s) # push args ff 6/subop/push 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none . . 4/disp8 . # push *(ESP+4) 68/push 2/imm32/stderr # call - e8/call _write/disp32 + e8/call write/disp32 # discard arg 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP - # _write(2/stderr, " expected") + # write(2/stderr, " expected") # push args 68/push " expected"/imm32 68/push 2/imm32/stderr # call - e8/call _write/disp32 + e8/call write/disp32 # discard arg 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP - # _write(2/stderr, "\n") + # write(2/stderr, "\n") # push args 68/push Newline/imm32 68/push 2/imm32/stderr # call - e8/call _write/disp32 + e8/call write/disp32 # discard arg 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # end diff --git a/subx/apps/factorial b/subx/apps/factorial index a1fa3905..26729183 100755 --- a/subx/apps/factorial +++ b/subx/apps/factorial Binary files differ |