1// SPDX-License-Identifier: MIT 2// 3// Copyright (c) 2023, Johannes Stoelp <dev@memzero.de> 4 5use super::Jz; 6use crate::{Asm, Label}; 7 8impl Jz<&mut Label> for Asm { 9 fn jz(&mut self, op1: &mut Label) { 10 self.encode_jmp_label(&[0x0f, 0x84], op1); 11 } 12}