<< Previous | Next >>

> LD EIR,A
> LD IIR,A Load Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> ED 47 | LD EIR,A | 4 (2,2) | EIR = A
> ED 4F | LD IIR,A | 4 (2,2) | IIR = A

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> - | - | - | - |  |  |  |  |

> #### Description

> - `LD EIR,A:` Loads the External Interrupt Register, EIR, with A. 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 IIR,A:` Loads the Internal Interrupt Register, IIR, with A. 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.

<< Previous | Next >>