From 7dac9ade153d736b7a183d073d83b7a17b22b4cc Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 10 Jun 2020 23:09:30 -0700 Subject: 6507 - use syscall names everywhere --- 072slice.subx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '072slice.subx') diff --git a/072slice.subx b/072slice.subx index b2ff476f..3809f34e 100644 --- a/072slice.subx +++ b/072slice.subx @@ -858,8 +858,7 @@ $write-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-write-slice: @@ -1123,8 +1122,7 @@ $slice-to-string: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-slice-to-string: -- cgit 1.4.1-2-gfad0