about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-28 11:18:50 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-28 11:18:50 -0800
commitd6535f3382b964332b3a379ea44d34b2b454beae (patch)
tree4387a2d896c6aa6dda79130c6595f6e29a55c700
parent695d49c05d4d3db822830abaf45210f4a680d969 (diff)
downloadmu-d6535f3382b964332b3a379ea44d34b2b454beae.tar.gz
4792
Thanks Pelle Hjek for the feedback: http://arclanguage.org/item?id=20870
-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