diff options
author | johannst <johannst@users.noreply.github.com> | 2024-12-13 00:18:53 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2024-12-13 00:18:53 +0000 |
commit | c94a65c993f5da6a86bd1e6d23e359ba2052f836 (patch) | |
tree | 8ca23ecd01fb4cd26c958e310c3f352cc7c73d63 /src/juicebox_asm/insn/sub.rs.html | |
parent | 741d915aed07eb4ea265d8e90cf64e8ca6552ddc (diff) | |
download | juicebox-asm-c94a65c993f5da6a86bd1e6d23e359ba2052f836.tar.gz juicebox-asm-c94a65c993f5da6a86bd1e6d23e359ba2052f836.zip |
deploy: 758f014afb8ec5c20ef2fc862fc12e80f65d3d25
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 |