about summary refs log tree commit diff stats
path: root/subx/examples/ex7.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-18 00:00:18 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-18 00:45:12 -0700
commit83c67014034bbf9072d7e4555b0e51e815a95756 (patch)
treecf52127783efc20bbe8d903d96e73bc51a1f752d /subx/examples/ex7.subx
parent4b506b630ce28b3574a9f903904588f92dd3a1c1 (diff)
downloadmu-83c67014034bbf9072d7e4555b0e51e815a95756.tar.gz
switch to new syntax for segment headers in C++
Diffstat (limited to 'subx/examples/ex7.subx')
-rw-r--r--subx/examples/ex7.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/examples/ex7.subx b/subx/examples/ex7.subx
index c6dd3423..ee043c86 100644
--- a/subx/examples/ex7.subx
+++ b/subx/examples/ex7.subx
@@ -11,7 +11,7 @@
 #   $ echo $?
 #   97
 
-== code
+== code 0x09000000
 #   instruction                     effective address                                                   register    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
@@ -91,7 +91,7 @@
     b8/copy-to-EAX  1/imm32/exit
     cd/syscall  0x80/imm8
 
-== data
+== data 0x0a000000
 
 Stream:
     0/imm32