![]() |
|
| << Previous | Next >> | |
| | |
LD rr,(ps+d) Load Rabbit 4000/5000 Instruction
Description
Loads rr (any of the 16-bit registers BC, DE, IX or IY) 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 (one of the 32-bit registers PW, PX, PY or PZ) and the 8-bit signed displacement d.
The instructions "LD IX,(ps+d)" and "LD IY,(ps+d)" are not affected by ALTD.
| Rabbit Instructions | << Previous | Next >> | rabbit.com |