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_instructions7
1 files changed, 7 insertions, 0 deletions
diff --git a/mu_instructions b/mu_instructions
index c23606ec..69999444 100644
--- a/mu_instructions
+++ b/mu_instructions
@@ -76,6 +76,13 @@ var/reg <- xor n                  => "81 6/subop/xor %" reg " " n "/imm32"
 xor-with var, n                   => "81 6/subop/xor *(ebp+" var.stack-offset ") " n "/imm32"
 xor-with *var/reg, n              => "81 6/subop/xor *" reg " " n "/imm32"
 
+var/reg <- shift-left n
+var/reg <- shift-right n
+var/reg <- shift-right-signed n
+shift-left var, n
+shift-right var, n
+shift-right-signed var, n
+
 var/eax <- copy n                 => "b8/copy-to-eax " n "/imm32"
 var/ecx <- copy n                 => "b9/copy-to-ecx " n "/imm32"
 var/edx <- copy n                 => "ba/copy-to-edx " n "/imm32"