diff options
Diffstat (limited to '092stack.subx')
-rw-r--r-- | 092stack.subx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/092stack.subx b/092stack.subx index a0bafe5e..0ab80b99 100644 --- a/092stack.subx +++ b/092stack.subx @@ -160,8 +160,7 @@ $push:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp # . syscall(exit, 1) bb/copy-to-ebx 1/imm32 - b8/copy-to-eax 1/imm32/exit - cd/syscall 0x80/imm8 + e8/call syscall_exit/disp32 # never gets here test-push: @@ -279,8 +278,7 @@ $pop:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp # . syscall(exit, 1) bb/copy-to-ebx 1/imm32 - b8/copy-to-eax 1/imm32/exit - cd/syscall 0x80/imm8 + e8/call syscall_exit/disp32 # never gets here test-pop: @@ -381,8 +379,7 @@ $top:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp # . syscall(exit, 1) bb/copy-to-ebx 1/imm32 - b8/copy-to-eax 1/imm32/exit - cd/syscall 0x80/imm8 + e8/call syscall_exit/disp32 # never gets here test-top: |