about summary refs log tree commit diff stats
path: root/subx/examples/ex12.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/examples/ex12.subx')
-rw-r--r--subx/examples/ex12.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/examples/ex12.subx b/subx/examples/ex12.subx
index 1db660ed..ba760707 100644
--- a/subx/examples/ex12.subx
+++ b/subx/examples/ex12.subx
@@ -12,8 +12,8 @@
 # 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
 
   # mmap(0x1000)
-  bb/copy                         .               .             .           .             .           .           .               mmap-new-segment/imm32  # copy to EBX
-  b8/copy                         .               .             .           .             .           .           .               0x5a/imm32/mmap         # copy to EAX
+  bb/copy-to-EBX  mmap-new-segment/imm32
+  b8/copy-to-EAX  0x5a/imm32/mmap
   cd/syscall  0x80/imm8
 
   # store to *EAX
@@ -21,7 +21,7 @@
 
   # exit(EAX)
   89/copy                         3/mod/direct    3/rm32/EBX    .           .             .           0/r32/EAX   .               .                       # copy EAX to EBX
-  b8/copy                         .               .             .           .             .           .           .               1/imm32/exit            # copy to EAX
+  b8/copy-to-EAX  1/imm32/exit
   cd/syscall  0x80/imm8
 
 == data