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.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/examples/ex12.subx b/subx/examples/ex12.subx
index 4518aecc..4d43b033 100644
--- a/subx/examples/ex12.subx
+++ b/subx/examples/ex12.subx
@@ -6,7 +6,7 @@
 #   $ ./subx run examples/ex12
 # You shouldn't get a segmentation fault.
 
-== 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
@@ -24,7 +24,7 @@
     b8/copy-to-EAX  1/imm32/exit
     cd/syscall  0x80/imm8
 
-== data
+== data 0x0a000000
 
 # various constants used here were found in the Linux sources (search for file mman-common.h)
 Mmap-new-segment:  # type mmap_arg_struct