![]() |
|
| << Previous | Next >> | |
| | |
LD A,(ps+d) Load Rabbit 4000/5000 Instruction
-- LD A,(ps+d) A = (ps + d) 8D d LD A,(PW+d) A = (PW + d) 9D d LD A,(PX+d) A = (PX + d) AD d LD A,(PY+d) A = (PY + d) BD d LD A,(PZ+d) A = (PZ + d)
Description
Load A 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 with only the low 16 bits being significant. 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 value d.
| Rabbit Instructions | << Previous | Next >> | rabbit.com |