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, 4 insertions, 0 deletions
diff --git a/mu_instructions b/mu_instructions
index 5ce9e07c..7b38a1f8 100644
--- a/mu_instructions
+++ b/mu_instructions
@@ -90,6 +90,10 @@ var/reg <- copy n                 => "c7 0/subop/copy %" reg " " n "/imm32"
 copy-to var, n                    => "c7 0/subop/copy *(ebp+" var.stack-offset ") " n "/imm32"
 copy-to *var/reg, n               => "c7 0/subop/copy *" reg " " n "/imm32"
 
+var/reg <- copy-byte var2/reg2    => "8a/byte-> %" reg2 " " reg "/r32"
+var/reg <- copy-byte *var2/reg2   => "8a/byte-> *" reg2 " " reg "/r32"
+copy-byte-to *var1/reg1, var2/reg2  => "88/byte<- *" reg1 " " reg2 "/r32"
+
 compare var1, var2/reg2           => "39/compare *(ebp+" var1.stack-offset ") " reg2 "/r32"
 compare *var1/reg1, var2/reg2     => "39/compare *" reg1 " " reg2 "/r32"
 compare var1/reg1, var2           => "3b/compare<- *(ebp+" var2.stack-offset ") " reg1 "/r32"