about summary refs log tree commit diff stats
path: root/subx/examples/ex5.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/examples/ex5.subx')
-rw-r--r--subx/examples/ex5.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/examples/ex5.subx b/subx/examples/ex5.subx
index cafad042..16b87bc8 100644
--- a/subx/examples/ex5.subx
+++ b/subx/examples/ex5.subx
@@ -25,7 +25,7 @@
   ba/copy                                                                                                                         1/imm32           # copy 1 to EDX
     # read(fd, x, size)
   b8/copy                                                                                                                         3/imm32/read      # copy 3 to EAX
-  cd/syscall                                                                                                                      0x80/imm8         # int 80h
+  cd/syscall  0x80/imm8
 
   # write(stdout, x, 1)
     # fd = 1 (stdout)
@@ -36,10 +36,10 @@
   ba/copy                                                                                                                         1/imm32           # copy 1 to EDX
     # write(fd, x, size)
   b8/copy                                                                                                                         4/imm32/write     # copy 4 to EAX
-  cd/syscall                                                                                                                      0x80/imm8         # int 80h
+  cd/syscall  0x80/imm8
 
   # exit(EBX)
   b8/copy                                                                                                                         1/imm32/exit      # copy 1 to EAX
-  cd/syscall                                                                                                                      0x80/imm8         # int 80h
+  cd/syscall  0x80/imm8
 
 # vim:ft=subx:nowrap