<< Previous | Next >>

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

> 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 | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> · | · | - | - | · | · |  |  |

> #### Description

> Loads A with EIR or IIR.

> EIR is used to specify the most significant byte of the External Interrupt address. The value loaded in EIR is concatenated with the appropriate External Interrupt address to form the 16-bit ISR starting address. IIR is used to specify the most significant byte of the Internal Peripheral Interrupt address. The value loaded in IIR is concatenated with the appropriate Internal Peripheral address to form the 16-bit ISR starting address for that peripheral.

<< Previous | Next >>