about summary refs log tree commit diff stats
path: root/subx/examples/ex12.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-03 12:03:23 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-03 12:03:23 -0800
commit91dab3e1a499cac50abd146ce849d3dab94229ab (patch)
tree0ae698ea9ed9e1e3523aa6e5aefa9e0b8c8e2400 /subx/examples/ex12.subx
parent26efb5f5c2a3ddbaf82f06e6ca6090caf7ab5a16 (diff)
downloadmu-91dab3e1a499cac50abd146ce849d3dab94229ab.tar.gz
4824
Diffstat (limited to 'subx/examples/ex12.subx')
-rw-r--r--subx/examples/ex12.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/examples/ex12.subx b/subx/examples/ex12.subx
index 3b101379..6d17a39f 100644
--- a/subx/examples/ex12.subx
+++ b/subx/examples/ex12.subx
@@ -17,10 +17,10 @@
     cd/syscall  0x80/imm8
 
     # write to *EAX to check that we have access to the newly-allocated segment
-    c7/copy                         0/mod/direct    0/rm32/EAX    .           .             .           .           .               0x34/imm32              # copy to *EAX
+    c7/copy                         0/mod/direct    0/rm32/EAX    .           .             .           .           .               0x34/imm32        # copy to *EAX
 
     # syscall(exit, EAX)
-    89/copy                         3/mod/direct    3/rm32/EBX    .           .             .           0/r32/EAX   .               .                       # copy EAX to EBX
+    89/copy                         3/mod/direct    3/rm32/EBX    .           .             .           0/r32/EAX   .               .                 # copy EAX to EBX
     b8/copy-to-EAX  1/imm32/exit
     cd/syscall  0x80/imm8