aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/juicebox_asm/insn/sub.rs.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/juicebox_asm/insn/sub.rs.html')
-rw-r--r--src/juicebox_asm/insn/sub.rs.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/juicebox_asm/insn/sub.rs.html b/src/juicebox_asm/insn/sub.rs.html
index f350d05..b385a09 100644
--- a/src/juicebox_asm/insn/sub.rs.html
+++ b/src/juicebox_asm/insn/sub.rs.html
@@ -13,7 +13,7 @@
<a href="#12" id="12">12</a>
<a href="#13" id="13">13</a>
<a href="#14" id="14">14</a></pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">super</span>::Sub;
-<span class="kw">use crate</span>::{Asm, Imm8, MemOp, Reg64};
+<span class="kw">use crate</span>::{Asm, Imm8, Mem8, Reg64};
<span class="kw">impl </span>Sub&lt;Reg64, Reg64&gt; <span class="kw">for </span>Asm {
<span class="kw">fn </span>sub(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Reg64, op2: Reg64) {
@@ -21,9 +21,9 @@
}
}
-<span class="kw">impl </span>Sub&lt;MemOp, Imm8&gt; <span class="kw">for </span>Asm {
- <span class="kw">fn </span>sub(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: MemOp, op2: Imm8) {
- <span class="self">self</span>.encode_mi(<span class="number">0x83</span>, <span class="number">5</span>, op1, op2);
+<span class="kw">impl </span>Sub&lt;Mem8, Imm8&gt; <span class="kw">for </span>Asm {
+ <span class="kw">fn </span>sub(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Mem8, op2: Imm8) {
+ <span class="self">self</span>.encode_mi(<span class="number">0x80</span>, <span class="number">5</span>, op1, op2);
}
}
</code></pre></div></section></main></body></html> \ No newline at end of file