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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/11/03 18:51
Read: times


 
#41291 - p2 -- r0, r1
I have a quick question about using p2 as a pointer when accessing external data through r0 or r1.

I have three tables that I am working from at a time. Data is taken from the first table (keyboard scan code), converted using a second lookup table (converted to hex), then stored in a third table (to use half the space in permanent storage), I am using dptr, r0, and r1 for this. My question is, do I need to move #80h into p2 every time I use r0 and r1 or will using dptr change p2?

If I have not been clear, please feel free to ask me to clarify my question.

Thanks for your help!

List of 9 messages in thread
TopicAuthorDate
p2 -- r0, r1            01/01/70 00:00      
   RE: p2 -- r0, r1            01/01/70 00:00      
   RE: p2 -- r0, r1            01/01/70 00:00      
      RE: p2 -- r0, r1            01/01/70 00:00      
         RE: p2 -- r0, r1            01/01/70 00:00      
            RE: p2 -- r0, r1            01/01/70 00:00      
               RE: p2 -- r0, r1            01/01/70 00:00      
                  RE: p2 -- r0, r1            01/01/70 00:00      
                     RE: p2 -- r0, r1            01/01/70 00:00      

Back to Subject List