diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-09-28 20:11:21 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-09-28 20:11:21 -0700 |
commit | db469acb3ad1e996d41b842ca579def706c308dd (patch) | |
tree | edf02191db226d06798f0e18f843dc852f3cb8a9 /mu_instructions | |
parent | 1efadebb45ddfb92e140b58d8155637a9be873ad (diff) | |
download | mu-db469acb3ad1e996d41b842ca579def706c308dd.tar.gz |
6893
Diffstat (limited to 'mu_instructions')
-rw-r--r-- | mu_instructions | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mu_instructions b/mu_instructions index a5f7d7cb..c4f81dc3 100644 --- a/mu_instructions +++ b/mu_instructions @@ -76,12 +76,12 @@ 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/reg <- shift-left n => "c1/shift 4/subop/left %" reg " " n "/imm32" +var/reg <- shift-right n => "c1/shift 5/subop/right %" reg " " n "/imm32" +var/reg <- shift-right-signed n => "c1/shift 7/subop/right-signed %" reg " " n "/imm32" +shift-left var, n => "c1/shift 4/subop/left *(ebp+" var.stack-offset ") " n "/imm32" +shift-right var, n => "c1/shift 5/subop/right *(ebp+" var.stack-offset ") " n "/imm32" +shift-right-signed var, n => "c1/shift 7/subop/right-signed *(ebp+" var.stack-offset ") " n "/imm32" var/eax <- copy n => "b8/copy-to-eax " n "/imm32" var/ecx <- copy n => "b9/copy-to-ecx " n "/imm32" |