about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-27 00:01:12 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-27 00:01:12 -0700
commit985f7f79bee5481cc1247d1d68b1b2d47f5b500c (patch)
tree8d1ae3feda77a15bf3e46137b8dfc0376b4c3880
parent58d866d7a479b21ddbdcf53d08c7dfedc3a9bdf9 (diff)
downloadmu-985f7f79bee5481cc1247d1d68b1b2d47f5b500c.tar.gz
6408
-rw-r--r--html/mu_instructions.html3
-rw-r--r--mu_instructions3
2 files changed, 4 insertions, 2 deletions
diff --git a/html/mu_instructions.html b/html/mu_instructions.html
index e619617a..82bfae86 100644
--- a/html/mu_instructions.html
+++ b/html/mu_instructions.html
@@ -189,7 +189,8 @@ be provided in an earlier 'var' declaration.
 var/reg: (addr T) <span class="Special">&lt;-</span> address var2: T
   =&gt; <span class="Constant">&quot;8d/copy-address *(ebp+&quot;</span> var2.stack-offset <span class="Constant">&quot;) &quot;</span> reg <span class="Constant">&quot;/r32&quot;</span>
 
-<span class="Comment">Array operations</span> (TODO: bounds-checking)
+<span class="Comment"># Array operations</span>
+(TODO: bounds-checking)
 
 var/reg <span class="Special">&lt;-</span> index arr/rega: (addr array T), idx/regi: int
   | if size-of(T) is <span class="Constant">4</span> or <span class="Constant">8</span>
diff --git a/mu_instructions b/mu_instructions
index 926438d7..a1e7fc68 100644
--- a/mu_instructions
+++ b/mu_instructions
@@ -164,7 +164,8 @@ be provided in an earlier 'var' declaration.
 var/reg: (addr T) <- address var2: T
   => "8d/copy-address *(ebp+" var2.stack-offset ") " reg "/r32"
 
-# Array operations (TODO: bounds-checking)
+# Array operations
+(TODO: bounds-checking)
 
 var/reg <- index arr/rega: (addr array T), idx/regi: int
   | if size-of(T) is 4 or 8