about summary refs log tree commit diff stats
path: root/mu_instructions
diff options
context:
space:
mode:
Diffstat (limited to 'mu_instructions')
-rw-r--r--mu_instructions4
1 files changed, 3 insertions, 1 deletions
diff --git a/mu_instructions b/mu_instructions
index 9897d6c0..fa696f82 100644
--- a/mu_instructions
+++ b/mu_instructions
@@ -227,6 +227,8 @@ If a record (product) type T was defined to have elements a, b, c, ... of
 types T_a, T_b, T_c, ..., then accessing one of those elements f of type T_f:
 
 var/reg: (addr T_f) <- get var2/reg2: (addr F), f: field name => 8d/copy-addr *(reg2+offset(f))
-                            {.name="get",             .inouts=[reg2, f],                .subx-name="8d/copy-addr",          .rm32="*(" inouts[0] "+" offset(f) ")",     .r32=outputs[0]}
+                            {.name="get",             .inouts=[reg2, f],                .subx-name="8d/copy-address",       .rm32="*(" inouts[0] "+" offset(f) ")",     .r32=outputs[0]}
+var/reg: (addr T_f) <- get var2: (addr F), f: field name
+                            {.name="get",             .inouts=[reg2, f],                .subx-name="8d/copy-address",       .rm32="*(ebp+" inouts[0].stack-offset "+" offset(f) ")",  .r32=outputs[0]}
 
 vim:ft=c:nowrap