diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/desugar.subx | 2 | ||||
-rw-r--r-- | apps/dquotes.subx | 2 | ||||
-rw-r--r-- | apps/survey.subx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/desugar.subx b/apps/desugar.subx index e66e58b1..ac1e64ba 100644 --- a/apps/desugar.subx +++ b/apps/desugar.subx @@ -82,7 +82,7 @@ $run-main: # . . call e8/call convert/disp32 # . . discard args - 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0x8/imm32 # add to ESP + 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # . syscall(exit, 0) bb/copy-to-EBX 0/imm32 $main:end: diff --git a/apps/dquotes.subx b/apps/dquotes.subx index 1375211c..296e6879 100644 --- a/apps/dquotes.subx +++ b/apps/dquotes.subx @@ -322,7 +322,7 @@ process-string-literal: # string-literal : (address slice), out : (address buff 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # emit-string-literal-data(out-segment, string-literal) # . . push args - ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0x8/disp8 . # push *(EBP+8) + ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0x10/disp8 . # push *(EBP+16) # . . call e8/call emit-string-literal-data/disp32 diff --git a/apps/survey.subx b/apps/survey.subx index ee9f637d..5524f63b 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -332,7 +332,7 @@ convert: # infile : (address buffered-file), out : (address buffered-file) -> < # . . call e8/call compute-addresses/disp32 # . . discard args - 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0x8/imm32 # add to ESP + 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # rewind-stream(in) # . . push args 56/push-ESI |