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

                        





                                                  
use super::Jz;
use crate::{Asm, Label};

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