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