Constant z80emu::opconsts::RST_OPBASE

source ·
pub const RST_OPBASE: u8 = 0b11_000_111;
Expand description

Base of the RST p opcode.

Match instructions with: (code & RST_OPMASK) == RST_OPBASE.

Build instructions with: RST_OPBASE|addr where addr is one of: 0x00u8, 0x08, 0x10, 0x18, 0x20, 0x28, 0x30, 0x38.