diff options
Diffstat (limited to 'src/juicebox_asm/insn/cmp.rs.html')
-rw-r--r-- | src/juicebox_asm/insn/cmp.rs.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/juicebox_asm/insn/cmp.rs.html b/src/juicebox_asm/insn/cmp.rs.html index a4e5447..35bb5b7 100644 --- a/src/juicebox_asm/insn/cmp.rs.html +++ b/src/juicebox_asm/insn/cmp.rs.html @@ -13,16 +13,16 @@ <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>::Cmp; -<span class="kw">use crate</span>::{Asm, Imm16, Imm8, MemOp}; +<span class="kw">use crate</span>::{Asm, Imm16, Imm8, Mem16, Mem8}; -<span class="kw">impl </span>Cmp<MemOp, Imm8> <span class="kw">for </span>Asm { - <span class="kw">fn </span>cmp(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp, op2: Imm8) { +<span class="kw">impl </span>Cmp<Mem8, Imm8> <span class="kw">for </span>Asm { + <span class="kw">fn </span>cmp(<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">0x7</span>, op1, op2); } } -<span class="kw">impl </span>Cmp<MemOp, Imm16> <span class="kw">for </span>Asm { - <span class="kw">fn </span>cmp(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp, op2: Imm16) { +<span class="kw">impl </span>Cmp<Mem16, Imm16> <span class="kw">for </span>Asm { + <span class="kw">fn </span>cmp(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Mem16, op2: Imm16) { <span class="self">self</span>.encode_mi(<span class="number">0x81</span>, <span class="number">0x7</span>, op1, op2); } } |