about summary refs log tree commit diff stats
path: root/064write-byte.subx
diff options
context:
space:
mode:
Diffstat (limited to '064write-byte.subx')
-rw-r--r--064write-byte.subx3
1 files changed, 1 insertions, 2 deletions
diff --git a/064write-byte.subx b/064write-byte.subx
index b134a2a8..889439f6 100644
--- a/064write-byte.subx
+++ b/064write-byte.subx
@@ -247,8 +247,7 @@ $append-byte: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-append-byte-single: