diff options
Diffstat (limited to 'src/juicebox_asm/insn/add.rs.html')
-rw-r--r-- | src/juicebox_asm/insn/add.rs.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/juicebox_asm/insn/add.rs.html b/src/juicebox_asm/insn/add.rs.html index a6ac132..6146498 100644 --- a/src/juicebox_asm/insn/add.rs.html +++ b/src/juicebox_asm/insn/add.rs.html @@ -30,13 +30,13 @@ <span class="kw">impl </span>Add<Reg64, Reg64> <span class="kw">for </span>Asm { <span class="kw">fn </span>add(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Reg64, op2: Reg64) { - <span class="self">self</span>.encode_rr(<span class="number">0x01</span>, op1, op2); + <span class="self">self</span>.encode_rr(<span class="kw-2">&</span>[<span class="number">0x01</span>], op1, op2); } } <span class="kw">impl </span>Add<Reg32, Reg32> <span class="kw">for </span>Asm { <span class="kw">fn </span>add(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Reg32, op2: Reg32) { - <span class="self">self</span>.encode_rr(<span class="number">0x01</span>, op1, op2); + <span class="self">self</span>.encode_rr(<span class="kw-2">&</span>[<span class="number">0x01</span>], op1, op2); } } |