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.subx11
1 files changed, 4 insertions, 7 deletions
diff --git a/subx/examples/ex1.subx b/subx/examples/ex1.subx
index 444f872a..8839fb6b 100644
--- a/subx/examples/ex1.subx
+++ b/subx/examples/ex1.subx
@@ -9,12 +9,9 @@
 #   42
 
 == code
-# instruction                     effective address                                                   operand     displacement    immediate
-# op          subop               mod             rm32          base        index         scale       r32
-# 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
-  bb/copy-to-EBX  2a/imm32
-  # exit(EBX)
-  b8/copy-to-EAX  1/imm32
-  cd/syscall  0x80/imm8
+bb/copy-to-EBX  2a/imm32
+# exit(EBX)
+b8/copy-to-EAX  1/imm32
+cd/syscall  0x80/imm8
 
 # vim:nowrap:textwidth=0