<< Previous | Next >>

> LD (pd+HL),A Load Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> -- | LD (pd+HL),A | 7 (2,2,3) | (pd + HL) = A
> 8C | LD (PW+HL),A | 7 (2,2,3) | (PW + HL) = A
> 9C | LD (PX+HL),A | 7 (2,2,3) | (PX + HL) = A
> AC | LD (PY+HL),A | 7 (2,2,3) | (PY + HL) = A
> BC | LD (PZ+HL),A | 7 (2,2,3) | (PZ + HL) = A

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

> #### Description

> Loads the memory location whose address is computed as the sum of pd and HL with A. HL is considered sign extended to 24 bits.

> The address is treated either as a logical address that will be passed through the MMU for translation into a physical address or as a physical address that does not need MMU translation.

> If pd is 0xFFFFxxxx, i.e., the upper 16 bits are all ones, it represents a logical address. This is called a "long logical" address. Otherwise, it is a physical address with the low 20 bits or 24 bits being significant (depending on the memory available).

<< Previous | Next >>