about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-26 02:43:14 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-26 02:43:14 -0800
commit8e8a38ea81ee2d1454c1142f9c74a81e39f95eb2 (patch)
tree09afa4e6b16e6b004f1f1dbc00f085a06a7758e4
parent1d7d6e2ee75c254c49d57317c0c3b42c98e0f06e (diff)
downloadmu-8e8a38ea81ee2d1454c1142f9c74a81e39f95eb2.tar.gz
5830
Bugfix: statements defining a new register variable require an initializer
instruction.
-rwxr-xr-xapps/mubin69817 -> 69825 bytes
-rw-r--r--apps/mu.subx6
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/mu b/apps/mu
index 76522096..0a6919bb 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx
index 6c6781c3..a67891ef 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -309,6 +309,10 @@ Regvardef-type:  # (handle tree type-id)
   8/imm32
 Regvardef-register:  # (handle array byte)
   0xc/imm32
+Regvardef-operation:  # (handle array byte)
+  0x10/imm32
+Regvardef-inputs:  # (handle list var)
+  0x14/imm32
 
 Named-block-name:
   4/imm32
@@ -316,7 +320,7 @@ Named-block-statements:  # (handle list statement)
   8/imm32
 
 Stmt-size:
-  0x10/imm32
+  0x18/imm32
 
 Var-name:
   0/imm32