<< Previous | Next >>

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

Opcode
Instruction
Operation
-- LD BCDE,(ps+d) E = (ps+d); D = (ps+d+1)
C = (ps+d+2); B = (ps+d+3)
DD 0E d LD BCDE,(PW+d) E = (PW+d); D = (PW+d+1)
C = (PW+d+2); B = (PW+d+3)
DD 1E d LD BCDE,(PX+d) E = (PX+d); D = (PX+d+1)
C = (PX+d+2); B = (PX+d+3)
DD 2E d LD BCDE,(PY+d) E = (PY+d); D = (PY+d+1)
C = (PY+d+2); B = (PY+d+3)
DD 3E d LD BCDE,(PZ+d) E = (PZ+d); D = (PZ+d+1)
C = (PZ+d+2); B = (PZ+d+3)

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 the 32-bit register BCDE 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 or 24 bits (depending on the memory that is used) being significant.

The address is computed as the sum of ps and the 8-bit signed displacement d.


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