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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/16/04 13:50
Read: times


 
#70438 - RE: use of PC or DPTR
Responding to: ???'s previous message
I would normally use the PC only when there is small table that can be placed right near the look up subroutine. Another consideration is whether or not you are using the DPTR at the same time in a loop or other type of processing algorithm. For example, if you were scanning a buffer in XRAM using DPTR and had need to translate byte values through a lookup table in the CODE space then the use of the PC relative addressing can save quite a number of cycles in the loop.

Michael Karas


List of 13 messages in thread
TopicAuthorDate
use of PC or DPTR            01/01/70 00:00      
   RE: use of PC or DPTR            01/01/70 00:00      
      RE: use of PC or DPTR            01/01/70 00:00      
   RE: use of PC or DPTR            01/01/70 00:00      
      RE: use of PC or DPTR            01/01/70 00:00      
   RE: use of PC or DPTR            01/01/70 00:00      
   RE: use of PC or DPTR            01/01/70 00:00      
      RE: use of PC or DPTR            01/01/70 00:00      
         thanks            01/01/70 00:00      
         can we make three four lookup tables            01/01/70 00:00      
            RE: can we make three four lookup tables            01/01/70 00:00      
            RE: can we make three four lookup tables            01/01/70 00:00      
               RE: can we make three four lookup tables            01/01/70 00:00      

Back to Subject List