about summary refs log tree commit diff stats
path: root/090register-names.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-15 00:16:18 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:49 -0700
commit416992428fa32f9e9d942045cc5b74fd1ce965d4 (patch)
tree58069ffb872a8988035737f8f00ba62c6c2e4a3e /090register-names.subx
parent7bda2eda48776abdaaf0452070fb7cee4d635da0 (diff)
downloadmu-416992428fa32f9e9d942045cc5b74fd1ce965d4.tar.gz
mu.subx: redo passing code-gen tests
We've gone back and rewritten the tests to fit the older format from 3
commits ago. No behavior change, but staying close to the older format
should make it easier to update the remaining tests.
Diffstat (limited to '090register-names.subx')
-rw-r--r--090register-names.subx1
1 files changed, 1 insertions, 0 deletions
diff --git a/090register-names.subx b/090register-names.subx
index ab1dfcb1..21c151a9 100644
--- a/090register-names.subx
+++ b/090register-names.subx
@@ -5,6 +5,7 @@ Registers:  # (addr stream {(handle array byte), int})
   0/imm32/read
   0xc0/imm32/length
   # data
+  # it is perfectly ok to use fake alloc-ids -- as long as you never try to reclaim them
   0x11/imm32/alloc-id $Register-eax/imm32 0/imm32
   0x11/imm32/alloc-id $Register-ecx/imm32 1/imm32
   0x11/imm32/alloc-id $Register-edx/imm32 2/imm32