aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/insn/cmp.rs
blob: 835202c5884c39ad6a4d858007ec20c8cd0dc6cc (plain) (tree)
1
2
3
4
5
6
7
8

                               





                                               
use super::Cmp;
use crate::{Asm, Imm16, MemOp};

impl Cmp<MemOp, Imm16> for Asm {
    fn cmp(&mut self, op1: MemOp, op2: Imm16) {
        self.encode_mi(0x81, 0x7, op1, op2);
    }
}