about summary refs log tree commit diff stats
path: root/051test.subx
diff options
context:
space:
mode:
Diffstat (limited to '051test.subx')
-rw-r--r--051test.subx3
1 files changed, 1 insertions, 2 deletions
diff --git a/051test.subx b/051test.subx
index 518ed0de..04fbea24 100644
--- a/051test.subx
+++ b/051test.subx
@@ -17,8 +17,7 @@ Entry:  # manual test
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
     # syscall(exit, 0)
     bb/copy-to-ebx  0/imm32
-    b8/copy-to-eax  1/imm32/exit
-    cd/syscall  0x80/imm8
+    e8/call  syscall_exit/disp32
 
 # print msg to stderr if a != b, otherwise print "."
 check-ints-equal:  # a: int, b: int, msg: (addr array byte)