use crate::color;
use crate::emu::Emu;
use iced_x86::Instruction;

pub fn execute(emu: &mut Emu, ins: &Instruction, instruction_sz: usize, _rep_step: bool) -> bool {
    emu.show_instruction(color!("Green"), ins);

    let sigextend = emu.regs().get_al() as u8 as i8 as i16 as u16;
    emu.regs_mut().set_ax(sigextend as u64);
    true
}
