diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-28 21:26:42 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-28 21:26:42 -0800 |
commit | 431627b242d7f5f2c6b6b13876a255526383f831 (patch) | |
tree | 129b8ec45102e0fa7b6352739f916f94959c887f /subx/apps/crenshaw2-1.subx | |
parent | c2532c2d100ea9cadb63ae506ce2cead753c2130 (diff) | |
download | mu-431627b242d7f5f2c6b6b13876a255526383f831.tar.gz |
4886
Diffstat (limited to 'subx/apps/crenshaw2-1.subx')
-rw-r--r-- | subx/apps/crenshaw2-1.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx index abb9c9c2..e0ab0f47 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -63,7 +63,7 @@ $run-main: 89/copy 3/mod/direct 0/rm32/EAX . . . 4/r32/ESP . . # copy ESP to EAX # configure ed to really exit() # . ed->target = 0 - c7/copy 0/mod/direct 0/rm32/EAX . . . . . 0/imm32 # copy to *EAX + c7 0/subop/copy 0/mod/direct 0/rm32/EAX . . . . . 0/imm32 # copy to *EAX # return compile(Stdin, 1/stdout, 2/stderr, ed) # . . push args 50/push-EAX/ed @@ -105,7 +105,7 @@ compile: # in : (address buffered-file), out : fd or (address stream), err : fd 89/copy 3/mod/direct 1/rm32/ECX . . . 4/r32/ESP . . # copy ESP to ECX # initialize the stream # . num->length = 7 - c7/copy 1/mod/*+disp8 1/rm32/ECX . . . . 8/disp8 7/imm32 # copy to *(ECX+8) + c7 0/subop/copy 1/mod/*+disp8 1/rm32/ECX . . . . 8/disp8 7/imm32 # copy to *(ECX+8) # . clear-stream(num) # . . push args 51/push-ECX |