diff options
Diffstat (limited to 'src/juicebox_asm/insn/sub.rs.html')
-rw-r--r-- | src/juicebox_asm/insn/sub.rs.html | 8 |
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<Reg64, Reg64> <span class="kw">for </span>Asm { <span class="kw">fn </span>sub(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Reg64, op2: Reg64) { @@ -21,9 +21,9 @@ } } -<span class="kw">impl </span>Sub<MemOp, Imm8> <span class="kw">for </span>Asm { - <span class="kw">fn </span>sub(<span class="kw-2">&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<Mem8, Imm8> <span class="kw">for </span>Asm { + <span class="kw">fn </span>sub(<span class="kw-2">&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 |