aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn/jmp.rs
blob: 0539318694ac3d695db963ffb93797dbd7a553cf (plain) (blame)
1
2
3
4
5
6
7
8
use super::Jmp;
use crate::{Asm, Label};

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