Constant z80emu::opconsts::RETN_OP2_BASE

source ·
pub const RETN_OP2_BASE: u8 = 0b01_000_101;
Expand description

All RETN/RETI instructions 2nd opcode base after ED_PREFIX.

Match instructions with: code[0] == ED_PREFIX && (code[1] & RETN_OP2_MASK) == RETN_OP2_BASE.