diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-18 22:57:58 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-18 22:57:58 +0100 |
commit | d65d1327459a5f3866c8803fb1d9fbdb2de96f75 (patch) | |
tree | b5e37ee591106ced7c709440db42d1fe258bbfa7 /src/insn/test.rs | |
parent | aee91960846cc5786b1ce0f87b107534440a8450 (diff) | |
download | juicebox-asm-d65d1327459a5f3866c8803fb1d9fbdb2de96f75.tar.gz juicebox-asm-d65d1327459a5f3866c8803fb1d9fbdb2de96f75.zip |
asm: preparation for cmovnz/cmovz
Diffstat (limited to 'src/insn/test.rs')
-rw-r--r-- | src/insn/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insn/test.rs b/src/insn/test.rs index e90d855..9bca200 100644 --- a/src/insn/test.rs +++ b/src/insn/test.rs @@ -3,13 +3,13 @@ use crate::{Asm, Imm16, MemOp, Reg32, Reg64}; impl Test<Reg64, Reg64> for Asm { fn test(&mut self, op1: Reg64, op2: Reg64) { - self.encode_rr(0x85, op1, op2); + self.encode_rr(&[0x85], op1, op2); } } impl Test<Reg32, Reg32> for Asm { fn test(&mut self, op1: Reg32, op2: Reg32) { - self.encode_rr(0x85, op1, op2); + self.encode_rr(&[0x85], op1, op2); } } |