diff options
Diffstat (limited to 'apps/survey.subx')
-rw-r--r-- | apps/survey.subx | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/apps/survey.subx b/apps/survey.subx index c227a0fc..6ed94c5e 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -103,8 +103,7 @@ $subx-survey-main:interactive: # syscall(exit, 0) bb/copy-to-ebx 0/imm32 $subx-survey-main:end: - b8/copy-to-eax 1/imm32/exit - cd/syscall 0x80/imm8 + e8/call syscall_exit/disp32 # data structures: # segment-info: {address, file-offset, size} (12 bytes) @@ -922,8 +921,7 @@ $compute-offsets: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-compute-offsets: @@ -2361,8 +2359,7 @@ $emit-segments:global-variable-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 $emit-segments:imm8-abort: @@ -2376,8 +2373,7 @@ $emit-segments:imm8-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 $emit-segments:abort: @@ -2407,8 +2403,7 @@ $emit-segments: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-emit-segments-global-variable: @@ -3414,8 +3409,7 @@ $stream-add4: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 stream-add5: # in: (addr stream byte), key: handle, val1: addr, val2: addr, val3: addr @@ -3501,8 +3495,7 @@ $stream-add5: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 stream-add6: # in: (addr stream byte), key: handle, val1: addr, val2: addr, val3: addr, val4: addr @@ -3597,8 +3590,7 @@ $stream-add6: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 # some variants of 'trace' that take multiple arguments in different combinations of types: |