aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/juicebox_asm/insn/inc.rs.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-12-13 00:18:53 +0000
committerjohannst <johannst@users.noreply.github.com>2024-12-13 00:18:53 +0000
commitc94a65c993f5da6a86bd1e6d23e359ba2052f836 (patch)
tree8ca23ecd01fb4cd26c958e310c3f352cc7c73d63 /src/juicebox_asm/insn/inc.rs.html
parent741d915aed07eb4ea265d8e90cf64e8ca6552ddc (diff)
downloadjuicebox-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.html18
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&lt;Reg64&gt; <span class="kw">for </span>Asm {
<span class="kw">fn </span>inc(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Reg64) {
@@ -51,26 +51,26 @@
}
}
-<span class="kw">impl </span>Inc&lt;MemOp8&gt; <span class="kw">for </span>Asm {
- <span class="kw">fn </span>inc(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: MemOp8) {
+<span class="kw">impl </span>Inc&lt;Mem8&gt; <span class="kw">for </span>Asm {
+ <span class="kw">fn </span>inc(<span class="kw-2">&amp;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&lt;MemOp16&gt; <span class="kw">for </span>Asm {
- <span class="kw">fn </span>inc(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: MemOp16) {
+<span class="kw">impl </span>Inc&lt;Mem16&gt; <span class="kw">for </span>Asm {
+ <span class="kw">fn </span>inc(<span class="kw-2">&amp;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&lt;MemOp32&gt; <span class="kw">for </span>Asm {
- <span class="kw">fn </span>inc(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: MemOp32) {
+<span class="kw">impl </span>Inc&lt;Mem32&gt; <span class="kw">for </span>Asm {
+ <span class="kw">fn </span>inc(<span class="kw-2">&amp;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&lt;MemOp64&gt; <span class="kw">for </span>Asm {
- <span class="kw">fn </span>inc(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: MemOp64) {
+<span class="kw">impl </span>Inc&lt;Mem64&gt; <span class="kw">for </span>Asm {
+ <span class="kw">fn </span>inc(<span class="kw-2">&amp;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);
}
}