about summary refs log tree commit diff stats
path: root/subx/060read.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/060read.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/060read.subx')
-rw-r--r--subx/060read.subx8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/060read.subx b/subx/060read.subx
index a54b3f02..fcf38dde 100644
--- a/subx/060read.subx
+++ b/subx/060read.subx
@@ -351,11 +351,11 @@ test-read-returns-0-on-end-of-file:
 
 _test-tmp-stream:
     # current write index
-    00 00 00 00
+    0/imm32
     # current read index
-    00 00 00 00
-    # length (= 8)
-    08 00 00 00
+    0/imm32
+    # length
+    8/imm32
     # data
     00 00 00 00 00 00 00 00  # 8 bytes