diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/126write-int-decimal.subx | 3 | ||||
-rw-r--r-- | linux/ex1.subx | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/linux/126write-int-decimal.subx b/linux/126write-int-decimal.subx index d38e1a17..bff585a7 100644 --- a/linux/126write-int-decimal.subx +++ b/linux/126write-int-decimal.subx @@ -167,10 +167,9 @@ test-write-int32-decimal-zero: e8/call clear-stream/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp - b8/copy-to-eax 0x48/imm32 # write-int32-decimal(_test-stream, 0) # . . push args - 50/push-eax + 68/push 0/imm32 68/push _test-stream/imm32 # . . call e8/call write-int32-decimal/disp32 diff --git a/linux/ex1.subx b/linux/ex1.subx index 3a8f700c..183c014a 100644 --- a/linux/ex1.subx +++ b/linux/ex1.subx @@ -11,7 +11,6 @@ == code Entry: -e8/call test-write-int32-decimal-zero/disp32 # exit(42) bb/copy-to-ebx 0x2a/imm32 # 42 in hex e8/call syscall_exit/disp32 |