50 Rabbit 2000/3000 Microprocessor
Description
• LD A,EIR: Loads the Accumulator with the data in the External Interrupt Register, EIR. The
EIR is used to specify the Most Significant Byte (MSB) of the External Interrupt address. The
value loaded in the EIR is concatenated with the appropriate External Interrupt address to form
the 16-bit ISR starting address.
• LD A,IIR: Loads the Accumulator with the data in the Internal Interrupt Register, IIR. The
IIR is used to specify the Most Significant Byte (MSB) of the Internal Peripheral Interrupt
address. The value loaded in the IIR is concatenated with the appropriate Internal Peripheral
address to form the 16-bit ISR starting address for that peripheral.
Description
Loads the Accumulator with the data in the Extension of the Program Counter, XPC. This instruction is priv-
ileged. It is implemented for the Rabbit and is not available for the Z180.
LD A,EIR
LD A,IIR
Opcode Instruction Clocks Operation
ED 57 LD A,EIR 4 (2,2) A = EIR
ED 5F LD A,IIR 4 (2,2) A = IIR
Flags ALTD I/O
S Z L/V C F R SP S D
• • - - • •
LD A,XPC
Opcode Instruction Clocks Operation
ED 77 LD A,XPC 4 (2,2) A = XPC
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •