aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn/jz.rs
blob: 6563ca2ba43545985fb3ab81f5b00f09b8e4920d (plain) (blame)
1
2
3
4
5
6
7
use crate::prelude::*;

impl Jz<&mut Label> for Asm {
    fn jz(&mut self, op1: &mut Label) {
        self.encode_jmp_label(&[0x0f, 0x84], op1);
    }
}