aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn/xor.rs
blob: b1fdc486d6d6194a8a97c3b74ba069295fee6285 (plain) (blame)
1
2
3
4
5
6
7
8
use super::Xor;
use crate::{Asm, Reg64};

impl Xor<Reg64, Reg64> for Asm {
    fn xor(&mut self, op1: Reg64, op2: Reg64) {
        self.encode_rr(&[0x31], op1, op2);
    }
}