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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/17/06 20:35
Read: times


 
#110254 - Re:
Responding to: ???'s previous message
"... If I understood the replies correctly. In my code "INC DPTR", would it be correct then if I had written it as "INC A"...As @A+DPTR will be next pointing to #201H where the next character is located. ..."

If you replace INC DPTR by INC A, at that time, A will have the data which you copied from the code space i.e. it won't be 0. So incrementing A would give unpredictable result.

-Ashish

List of 14 messages in thread
TopicAuthorDate
MOVC A , @A+DPTR            01/01/70 00:00      
   Thats the way it works            01/01/70 00:00      
   its because its.....            01/01/70 00:00      
      MOVC A , @A+DPTR            01/01/70 00:00      
         Re:            01/01/70 00:00      
            Re            01/01/70 00:00      
               Re:            01/01/70 00:00      
   A does not have to be 0            01/01/70 00:00      
      It can be convenient ...            01/01/70 00:00      
   velocity            01/01/70 00:00      
      I'm not so sure...            01/01/70 00:00      
      Be carefull            01/01/70 00:00      
         Re:            01/01/70 00:00      
   How I use that MOVC            01/01/70 00:00      

Back to Subject List