From 440a7be400fbfb384aa01de2911e803f8fd6f9ad Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 20 Sep 2018 15:51:24 -0700 Subject: 4555 --- subx/apps/crenshaw2-1 | Bin 193 -> 196 bytes subx/apps/crenshaw2-1.subx | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 subx/apps/crenshaw2-1 diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 old mode 100644 new mode 100755 index 12e6ad52..6d42dbec Binary files a/subx/apps/crenshaw2-1 and b/subx/apps/crenshaw2-1 differ diff --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 -- cgit 1.4.1-2-gfad0