diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-10 23:09:30 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-10 23:09:30 -0700 |
commit | 7dac9ade153d736b7a183d073d83b7a17b22b4cc (patch) | |
tree | f19ba4be87306ae53caa0ba8c61e5202899cee48 /081table.subx | |
parent | 72d893b6b1c0dcaea5c4a38dd6fd83fd0569dd79 (diff) | |
download | mu-7dac9ade153d736b7a183d073d83b7a17b22b4cc.tar.gz |
6507 - use syscall names everywhere
Diffstat (limited to '081table.subx')
-rw-r--r-- | 081table.subx | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/081table.subx b/081table.subx index 620784b7..4507b10d 100644 --- a/081table.subx +++ b/081table.subx @@ -124,8 +124,7 @@ $get:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/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-get: @@ -316,8 +315,7 @@ $get-slice:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/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-get-slice: @@ -534,8 +532,7 @@ $get-or-insert:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/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-get-or-insert: @@ -821,8 +818,7 @@ $get-or-insert-handle:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/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-get-or-insert-handle: @@ -1139,8 +1135,7 @@ $get-or-insert-slice:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/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-get-or-insert-slice: @@ -1440,8 +1435,8 @@ $get-or-stop:terminus: # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # syscall(exit, 1) - b8/copy-to-eax 1/imm32/exit - cd/syscall 0x80/imm8 + bb/copy-to-ebx 1/imm32 + e8/call syscall_exit/disp32 test-get-or-stop: # This test uses exit-descriptors. Use ebp for setting up local variables. @@ -1666,8 +1661,8 @@ $get-slice-or-stop:terminus: # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # syscall(exit, 1) - b8/copy-to-eax 1/imm32/exit - cd/syscall 0x80/imm8 + bb/copy-to-ebx 1/imm32 + e8/call syscall_exit/disp32 test-get-slice-or-stop: # This test uses exit-descriptors. Use ebp for setting up local variables. |