Expand description
Selected Z80 opcodes.
For example a convenient argument to the Cpu::execute_instruction function or a return value from Io::irq_data.
Match instruction conditions with:
JR cc
opcode -Condition::from_jr_subset
,- other
cc
opcodes -Condition::from_code
.
Constants§
- Base of the conditional
CALL cc
opcode. - Opcode mask of the conditional
CALL cc
. - Call a subroutine.
- Prefix::Xdd prefix.
- Disable interrupts.
- Decrement
B
and branch to a relative address unlessB=0
. - Extended opcode prefix.
- Enable interrupts.
- Prefix::Yfd prefix.
- Halt execution.
- Base of the conditional
JP cc
opcode. - Opcode mask of the conditional
JP cc
. - Branch to an absolute address.
- Base of the conditional
JR cc
opcode. - Opcode mask of the conditional
JR cc
. - Branch to a relative address.
- No operation.
- The officially documented
RETI
opcode. - All
RETN/RETI
instructions 2nd opcode base afterED_PREFIX
. - All
RETN/RETI
instructions 2nd opcode mask afterED_PREFIX
. - The officially documented
RETN
opcode. - Base of the conditional
RET cc
opcode. - Opcode mask of the conditional
RET cc
. - Return from subroutine.
- Call a system subroutine at
0x00
. - Call a system subroutine at
0x08
. - Call a system subroutine at
0x10
. - Call a system subroutine at
0x18
. - Call a system subroutine at
0x20
. - Call a system subroutine at
0x28
. - Call a system subroutine at
0x30
. - Call a system subroutine at
0x38
. - Base of the
RST p
opcode. - Opcode mask of the
RST p
instruction.