about summary refs log tree commit diff stats
path: root/mu_instructions
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-04 21:17:11 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-04 21:17:11 -0700
commit48d96636fa89eb47ea14004494b6203d66664814 (patch)
tree2ee4df27d8cc82ff1e6d8024d33d1c7fa6cbc799 /mu_instructions
parent20411cc442c01430c06e392bd6ca5306327ee378 (diff)
downloadmu-48d96636fa89eb47ea14004494b6203d66664814.tar.gz
6465
Diffstat (limited to 'mu_instructions')
-rw-r--r--mu_instructions1
1 files changed, 1 insertions, 0 deletions
diff --git a/mu_instructions b/mu_instructions
index a1e7fc68..c5df279c 100644
--- a/mu_instructions
+++ b/mu_instructions
@@ -95,6 +95,7 @@ compare *var1/reg1, var2/reg2     => "39/compare *" reg1 " " reg2 "/r32"
 compare var1/reg1, var2           => "3b/compare<- *(ebp+" var2.stack-offset ") " reg1 "/r32"
 compare var/reg, *var2/reg2       => "3b/compare<- *" reg " " n "/imm32"
 compare var/eax, n                => "3d/compare-eax-with " n "/imm32"
+compare var/reg, n                => "81 7/subop/compare %" reg " " n "/imm32"
 compare var, n                    => "81 7/subop/compare *(ebp+" var.stack-offset ") " n "/imm32"
 compare *var/reg, n               => "81 7/subop/compare *" reg " " n "/imm32"