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

impl Cmovnz<Reg64, Reg64> for Asm {
    fn cmovnz(&mut self, op1: Reg64, op2: Reg64) {
        self.encode_rr(&[0x0f, 0x45], op2, op1);
    }
}