aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/insn/test.rs')
-rw-r--r--src/insn/test.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/insn/test.rs b/src/insn/test.rs
new file mode 100644
index 0000000..1319e3f
--- /dev/null
+++ b/src/insn/test.rs
@@ -0,0 +1,7 @@
+use crate::prelude::*;
+
+impl Test<Reg64, Reg64> for Asm {
+ fn test(&mut self, op1: Reg64, op2: Reg64) {
+ self.encode_rr(0x85, op1, op2);
+ }
+}