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 --- 091write-int.subx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '091write-int.subx') diff --git a/091write-int.subx b/091write-int.subx index 4db7eab3..2b5b60a1 100644 --- a/091write-int.subx +++ b/091write-int.subx @@ -47,8 +47,7 @@ $write-int: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-int-single: -- cgit 1.4.1-2-gfad0