<< Previous | Next >>

LD JKHL,(ps+d)     Load     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
-- LD JKHL,(ps+d) JKHL= (ps+d)
FD 0E d LD JKHL,(PW+d) JKHL= (PW+d)
FD 1E d LD JKHL,(PX+d) JKHL= (PX+d)
FD 2E d LD JKHL,(PY+d) JKHL= (PY+d)
FD 3E d LD JKHL,(PZ+d) JKHL= (PZ+d)

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
15
n/a
n/a
Rabbit 5000
16
15
14

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 the 8-bit signed displacement d.


Rabbit Instructions << Previous | Next >> rabbit.com