about summary refs log tree commit diff stats
path: root/apps/ex5.subx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ex5.subx')
-rw-r--r--apps/ex5.subx3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/ex5.subx b/apps/ex5.subx
index 6e9c6a5a..a2b0eeba 100644
--- a/apps/ex5.subx
+++ b/apps/ex5.subx
@@ -32,8 +32,7 @@ Entry:
     # . size = 1 character
     ba/copy-to-edx  1/imm32
     # . syscall
-    b8/copy-to-eax  4/imm32/write
-    cd/syscall  0x80/imm8
+    e8/call  syscall_write/disp32
 
     # exit(ebx)
     e8/call  syscall_exit/disp32