LD BCDE,(ps+HL)
Load
Rabbit 4000 Instruction
|
| -- |
LD BCDE,(ps+HL) |
14(2,2,2,2,2,2,2) |
E = (ps+HL); D = (ps+HL+1) C = (ps+HL+2); B = (ps+HL+3) |
|
DD 0C d
|
LD BCDE,(PW+HL)
|
14(2,2,2,2,2,2,2)
|
E = (PW+HL); D = (PW+HL+1)
C = (PW+HL+2); B = (PW+HL+3)
|
|
DD 1C d
|
LD BCDE,(PX+HL)
|
14(2,2,2,2,2,2,2)
|
E = (PX+HL); D = (PX+HL+1)
C = (PX+HL+2); B = (PX+HL+3)
|
|
DD 2C d
|
LD BCDE,(PY+HL)
|
14(2,2,2,2,2,2,2)
|
E = (PY+HL); D = (PY+HL+1)
C = (PY+HL+2); B = (PY+HL+3)
|
|
DD 3C d
|
LD BCDE,(PZ+HL)
|
14(2,2,2,2,2,2,2)
|
E = (PZ+HL); D = (PZ+HL+1)
C = (PZ+HL+2); B = (PZ+HL+3)
|
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 HL. HL is considered to be sign extended to 24 bits.