diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-20 15:51:24 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-20 15:51:24 -0700 |
commit | 440a7be400fbfb384aa01de2911e803f8fd6f9ad (patch) | |
tree | 3f4b18f2895e08f77aa267e9560a63d15e8232f8 /subx/apps | |
parent | a5a9c2afd6de06cc585b05fc66699b95f784be92 (diff) | |
download | mu-440a7be400fbfb384aa01de2911e803f8fd6f9ad.tar.gz |
4555
Diffstat (limited to 'subx/apps')
-rwxr-xr-x[-rw-r--r--] | subx/apps/crenshaw2-1 | bin | 193 -> 196 bytes | |||
-rw-r--r-- | subx/apps/crenshaw2-1.subx | 5 |
2 files changed, 2 insertions, 3 deletions
diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 index 12e6ad52..6d42dbec 100644..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 095f0740..f78276ad 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -17,13 +17,12 @@ # main: # error(Error_integer) - # prepare call - 55/push . . . . . . . . # push EBP - 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP # push args 68/push . . . . . . . Error_integer/imm32 # push 5 # call e8/call . . . . . . error/disp32 + # discard arg + 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add 4 to ESP # exit(0) bb/copy . . . . . . . 0/imm32 # copy 0 to EBX b8/copy . . . . . . . 1/imm32/exit # copy 1 to EAX |