diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-02-15 17:20:57 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-02-15 17:20:57 -0800 |
commit | 9b16f190492f26e065f13f19e51c4e2180a21143 (patch) | |
tree | 7f29f176beba335f42a8ecab60f049bcf880db8c /subx/apps | |
parent | 5522bc9ec5ee5074ac5b573b66cbec8cd93ccae5 (diff) | |
download | mu-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/apps')
-rw-r--r-- | subx/apps/crenshaw2-1.subx | 20 | ||||
-rw-r--r-- | subx/apps/crenshaw2-1b.subx | 20 | ||||
-rw-r--r-- | subx/apps/handle.subx | 2 | ||||
-rw-r--r-- | subx/apps/hex.subx | 16 |
4 files changed, 29 insertions, 29 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx index 53b59263..ad8dad46 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -574,26 +574,26 @@ $is-digit?:end: == data -Look: # (char) - 00 00 00 00 # = 0 +Look: # (char with some extra padding) + 0/imm32 _test-output-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 _test-error-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 diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx index 3b828735..044221eb 100644 --- a/subx/apps/crenshaw2-1b.subx +++ b/subx/apps/crenshaw2-1b.subx @@ -771,26 +771,26 @@ $is-digit?:end: == data -Look: # (char) - 00 00 00 00 # = 0 +Look: # (char with some extra padding) + 0/imm32 _test-output-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 _test-error-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 diff --git a/subx/apps/handle.subx b/subx/apps/handle.subx index bf452cc1..3848eb76 100644 --- a/subx/apps/handle.subx +++ b/subx/apps/handle.subx @@ -356,6 +356,6 @@ test-lookup-failure: # Monotonically increasing counter for calls to 'new' Next-alloc-id: - 01 00 00 00 # 1 + 1/imm32 # . . vim:nowrap:textwidth=0 diff --git a/subx/apps/hex.subx b/subx/apps/hex.subx index d841fd8b..49ca3bd4 100644 --- a/subx/apps/hex.subx +++ b/subx/apps/hex.subx @@ -1511,11 +1511,11 @@ test-skip-until-newline: _test-error-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 @@ -1524,11 +1524,11 @@ _test-error-buffered-file: # file descriptor or (address stream) _test-error-stream/imm32 # current write index - 00 00 00 00 + 0/imm32 # current read index - 00 00 00 00 - # length (6) - 06 00 00 00 + 0/imm32 + # length + 6/imm32 # data 00 00 00 00 00 00 # 6 bytes |