about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/examples/ex1.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/examples/ex1.subx b/subx/examples/ex1.subx
index f956f974..8bef59e7 100644
--- a/subx/examples/ex1.subx
+++ b/subx/examples/ex1.subx
@@ -10,9 +10,9 @@
 
 == code
 
-bb/copy-to-EBX  2a/imm32
+bb/copy-to-EBX  2a/imm32  # 42 in hex
 # exit(EBX)
-b8/copy-to-EAX  1/imm32
+b8/copy-to-EAX  1/imm32/exit
 cd/syscall  0x80/imm8
 
 # vim:nowrap:textwidth=0