about summary refs log tree commit diff stats
path: root/subx/062write-stream.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/062write-stream.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/062write-stream.subx')
-rw-r--r--subx/062write-stream.subx10
1 files changed, 5 insertions, 5 deletions
diff --git a/subx/062write-stream.subx b/subx/062write-stream.subx
index a4dd73b7..b273336b 100644
--- a/subx/062write-stream.subx
+++ b/subx/062write-stream.subx
@@ -228,12 +228,12 @@ test-write-stream-appends:
 
 _test-stream2:
     # current write index
-    04 00 00 00
+    4/imm32
     # current read index
-    01 00 00 00
-    # length (= 8)
-    08 00 00 00
+    1/imm32
+    # length
+    8/imm32
     # data
-    41 42 43 44 00 00 00 00  # 8 bytes
+    41/A 42/B 43/C 44/D 00 00 00 00  # 8 bytes
 
 # . . vim:nowrap:textwidth=0