about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--html/mu_instructions.html1
-rw-r--r--mu_instructions1
2 files changed, 2 insertions, 0 deletions
diff --git a/html/mu_instructions.html b/html/mu_instructions.html
index 82bfae86..0353f35b 100644
--- a/html/mu_instructions.html
+++ b/html/mu_instructions.html
@@ -120,6 +120,7 @@ compare *var1/reg1, var2/reg2     =&gt; <span class="Constant">&quot;39/compare
 compare var1/reg1, var2           =&gt; <span class="Constant">&quot;3b/compare&lt;- *(ebp+&quot;</span> var2.stack-offset <span class="Constant">&quot;) &quot;</span> reg1 <span class="Constant">&quot;/r32&quot;</span>
 compare var/reg, *var2/reg2       =&gt; <span class="Constant">&quot;3b/compare&lt;- *&quot;</span> reg <span class="Constant">&quot; &quot;</span> n <span class="Constant">&quot;/imm32&quot;</span>
 compare var/<span class="Constant">eax</span>, n                =&gt; <span class="Constant">&quot;3d/compare-eax-with &quot;</span> n <span class="Constant">&quot;/imm32&quot;</span>
+compare var/reg, n                =&gt; <span class="Constant">&quot;81 7/subop/compare %&quot;</span> reg <span class="Constant">&quot; &quot;</span> n <span class="Constant">&quot;/imm32&quot;</span>
 compare var, n                    =&gt; <span class="Constant">&quot;81 7/subop/compare *(ebp+&quot;</span> var.stack-offset <span class="Constant">&quot;) &quot;</span> n <span class="Constant">&quot;/imm32&quot;</span>
 compare *var/reg, n               =&gt; <span class="Constant">&quot;81 7/subop/compare *&quot;</span> reg <span class="Constant">&quot; &quot;</span> n <span class="Constant">&quot;/imm32&quot;</span>
 
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"