about summary refs log tree commit diff stats
path: root/apps/tests.subx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tests.subx')
-rw-r--r--apps/tests.subx3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tests.subx b/apps/tests.subx
index ff09730a..75f8ef22 100644
--- a/apps/tests.subx
+++ b/apps/tests.subx
@@ -64,8 +64,7 @@ $subx-tests-main:interactive:
     # syscall(exit, 0)
     bb/copy-to-ebx  0/imm32
 $subx-tests-main:end:
-    b8/copy-to-eax  1/imm32/exit
-    cd/syscall  0x80/imm8
+    e8/call  syscall_exit/disp32
 
 subx-gen-run-tests:  # in: (addr buffered-file), out: (addr buffered-file)
     # pseudocode