<< Previous | Next >>

LD (pd+HL),JKHL     Load     Rabbit 4000 Instruction
Opcode
Instruction
Clocks
Operation
-- LD (pd+HL),JKHL
18 (2,2,2,3,3,3,3)
(pd+HL) = L; (pd+HL+1) = H
(pd+HL+2) = JKlow
(pd+HL+3) = JKhigh

FD 0D

LD (PW+HL),JKHL

18 (2,2,2,3,3,3,3)

(PW+HL) = L; (PW+HL+1) = H
(PW+HL+2) = JKlow
(PW+HL+3) = JKhigh

FD 1D

LD (PX+HL),JKHL

18 (2,2,2,3,3,3,3)

(PX+HL) = L; (PX+HL+1) = H
(PX+HL+2) = JKlow
(PX+HL+3) = JKhigh

FD 2D

LD (PY+HL),JKHL

18 (2,2,2,3,3,3,3)

(PY+HL) = L; (PY+HL+1) = H
(PY+HL+2) = JKlow
(PY+HL+3) = JKhigh

FD 3D

LD (PZ+HL),JKHL

18 (2,2,2,3,3,3,3)

(PZ+HL) = L; (PZ+HL+1) = H
(PZ+HL+2) = JKlow
(PZ+HL+3) = JKhigh


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 JKHL. 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 >>