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/inc.rs.html | |
parent | 741d915aed07eb4ea265d8e90cf64e8ca6552ddc (diff) | |
download | juicebox-asm-c94a65c993f5da6a86bd1e6d23e359ba2052f836.tar.gz juicebox-asm-c94a65c993f5da6a86bd1e6d23e359ba2052f836.zip |
deploy: 758f014afb8ec5c20ef2fc862fc12e80f65d3d25
Diffstat (limited to 'src/juicebox_asm/insn/inc.rs.html')
-rw-r--r-- | src/juicebox_asm/insn/inc.rs.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/juicebox_asm/insn/inc.rs.html b/src/juicebox_asm/insn/inc.rs.html index 05ce6bb..c559c66 100644 --- a/src/juicebox_asm/insn/inc.rs.html +++ b/src/juicebox_asm/insn/inc.rs.html @@ -37,7 +37,7 @@ <a href="#36" id="36">36</a> <a href="#37" id="37">37</a> <a href="#38" id="38">38</a></pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">super</span>::Inc; -<span class="kw">use crate</span>::{Asm, MemOp16, MemOp32, MemOp64, MemOp8, Reg32, Reg64}; +<span class="kw">use crate</span>::{Asm, Mem16, Mem32, Mem64, Mem8, Reg32, Reg64}; <span class="kw">impl </span>Inc<Reg64> <span class="kw">for </span>Asm { <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Reg64) { @@ -51,26 +51,26 @@ } } -<span class="kw">impl </span>Inc<MemOp8> <span class="kw">for </span>Asm { - <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp8) { +<span class="kw">impl </span>Inc<Mem8> <span class="kw">for </span>Asm { + <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Mem8) { <span class="self">self</span>.encode_m(<span class="number">0xfe</span>, <span class="number">0</span>, op1); } } -<span class="kw">impl </span>Inc<MemOp16> <span class="kw">for </span>Asm { - <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp16) { +<span class="kw">impl </span>Inc<Mem16> <span class="kw">for </span>Asm { + <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Mem16) { <span class="self">self</span>.encode_m(<span class="number">0xff</span>, <span class="number">0</span>, op1); } } -<span class="kw">impl </span>Inc<MemOp32> <span class="kw">for </span>Asm { - <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp32) { +<span class="kw">impl </span>Inc<Mem32> <span class="kw">for </span>Asm { + <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Mem32) { <span class="self">self</span>.encode_m(<span class="number">0xff</span>, <span class="number">0</span>, op1); } } -<span class="kw">impl </span>Inc<MemOp64> <span class="kw">for </span>Asm { - <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp64) { +<span class="kw">impl </span>Inc<Mem64> <span class="kw">for </span>Asm { + <span class="kw">fn </span>inc(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Mem64) { <span class="self">self</span>.encode_m(<span class="number">0xff</span>, <span class="number">0</span>, op1); } } |