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-02-15 17:20:57 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-15 17:20:57 -0800
commit9b16f190492f26e065f13f19e51c4e2180a21143 (patch)
tree7f29f176beba335f42a8ecab60f049bcf880db8c /subx/examples/ex7.subx
parent5522bc9ec5ee5074ac5b573b66cbec8cd93ccae5 (diff)
downloadmu-9b16f190492f26e065f13f19e51c4e2180a21143.tar.gz
4973
Support immediate operands in the data segment in all the ways we support
them in the code segment.
Diffstat (limited to 'subx/examples/ex7.subx')
-rw-r--r--subx/examples/ex7.subx7
1 files changed, 4 insertions, 3 deletions
diff --git a/subx/examples/ex7.subx b/subx/examples/ex7.subx
index 47b51734..c6dd3423 100644
--- a/subx/examples/ex7.subx
+++ b/subx/examples/ex7.subx
@@ -94,12 +94,13 @@
 == data
 
 Stream:
-    00 00 00 00
+    0/imm32
 A:
-    61 00 00 00
+    61/imm32/A
 B:
-    00 00 00 00
+    0/imm32
 Filename:
     2e 66 6f 6f 00 00 00 00
+#   .  f  o  o  null
 
 # . . vim:nowrap:textwidth=0