aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/juicebox_asm/insn/mov.rs.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/juicebox_asm/insn/mov.rs.html')
-rw-r--r--src/juicebox_asm/insn/mov.rs.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/juicebox_asm/insn/mov.rs.html b/src/juicebox_asm/insn/mov.rs.html
index 6d6e6e7..8f10e31 100644
--- a/src/juicebox_asm/insn/mov.rs.html
+++ b/src/juicebox_asm/insn/mov.rs.html
@@ -120,25 +120,25 @@
</span><span class="kw">impl </span>Mov&lt;Reg64, Reg64&gt; <span class="kw">for </span>Asm {
<span class="kw">fn </span>mov(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Reg64, op2: Reg64) {
- <span class="self">self</span>.encode_rr(<span class="number">0x89</span>, op1, op2);
+ <span class="self">self</span>.encode_rr(<span class="kw-2">&amp;</span>[<span class="number">0x89</span>], op1, op2);
}
}
<span class="kw">impl </span>Mov&lt;Reg32, Reg32&gt; <span class="kw">for </span>Asm {
<span class="kw">fn </span>mov(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Reg32, op2: Reg32) {
- <span class="self">self</span>.encode_rr(<span class="number">0x89</span>, op1, op2);
+ <span class="self">self</span>.encode_rr(<span class="kw-2">&amp;</span>[<span class="number">0x89</span>], op1, op2);
}
}
<span class="kw">impl </span>Mov&lt;Reg16, Reg16&gt; <span class="kw">for </span>Asm {
<span class="kw">fn </span>mov(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Reg16, op2: Reg16) {
- <span class="self">self</span>.encode_rr(<span class="number">0x89</span>, op1, op2);
+ <span class="self">self</span>.encode_rr(<span class="kw-2">&amp;</span>[<span class="number">0x89</span>], op1, op2);
}
}
<span class="kw">impl </span>Mov&lt;Reg8, Reg8&gt; <span class="kw">for </span>Asm {
<span class="kw">fn </span>mov(<span class="kw-2">&amp;mut </span><span class="self">self</span>, op1: Reg8, op2: Reg8) {
- <span class="self">self</span>.encode_rr(<span class="number">0x88</span>, op1, op2);
+ <span class="self">self</span>.encode_rr(<span class="kw-2">&amp;</span>[<span class="number">0x88</span>], op1, op2);
}
}