Constant z80emu::opconsts::JR_CC_OPBASE

source ·
pub const JR_CC_OPBASE: u8 = 0b00_100_000;
Expand description

Base of the conditional JR cc opcode.

Match instructions with: (code & JR_CC_OPMASK) == JR_CC_OPBASE.

Build instructions with: JR_CC_OPBASE|Condition::CC.to_code().

Note: only NZ, Z, NC, C are valid JR cc conditions.