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

impl Jmp<&mut Label> for Asm {
    fn jmp(&mut self, op1: &mut Label) {
        self.encode_jmp_label(&[0xe9], op1);
    }
}