Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/24/08 04:14
Modified:
  04/24/08 04:46

Read: times


 
#153919 - Try the datasheet
Responding to: ???'s previous message
You should look closely at your part's data sheet. The description is right there above Figure 12. I copy the words here as a quote:

Indirect addressing. In indirect addressing
the instruction specifies a register which contains
the address of the operand. Both internal and external
RAM can be indirectly addressed. The address
register for 8-bit addresses can be R0 or R1
of the selected register bank, or the Stack Pointer.
The address register for 16-bit addresses can only
be the 16-bit “data pointer” register, DPTR
.


So go ahead and use the MOVX @Ri instructions for the XRAM addresses 00h-FFh. For higher addresses you will have to resort to using DPTR.

Michael Karas


List of 6 messages in thread
TopicAuthorDate
movx @ri,A in uPSD3200 micros            01/01/70 00:00      
   Try the datasheet            01/01/70 00:00      
      Not the (complete) answer?            01/01/70 00:00      
   internal/external memory in uPSD32xx            01/01/70 00:00      
      Thanks a lot            01/01/70 00:00      
         I had the 52 pin version, too...            01/01/70 00:00      

Back to Subject List