<< Previous | Next >>

> LD JKHL,(ps+HL) Load Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> -- | LD JKHL,(ps+HL) | 14 (2,2,2,2,2,2,2) | JKHL=(ps+HL)
> FD 0C d | LD JKHL,(PW+HL) | 14 (2,2,2,2,2,2,2) | JKHL= (PW+HL)
> FD 1C d | LD JKHL,(PX+HL) | 14 (2,2,2,2,2,2,2) | JKHL= (PX+HL)
> FD 2C d | LD JKHL,(PY+HL) | 14 (2,2,2,2,2,2,2) | JKHL= (PY+HL)
> FD 3C d | LD JKHL,(PZ+HL) | 14 (2,2,2,2,2,2,2) | JKHL= (PZ+HL)

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

> #### Description

> Loads JKHL with the data whose 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 ps 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).

> The address is computed as the sum of ps and HL. HL is considered sign extended to 24 bits.

<< Previous | Next >>