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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/06 03:26
Read: times


 
#110264 - Re:
Responding to: ???'s previous message
"...Thanks for the clarification and I see the result as you stated. What I should have said was.

CLR A
INC A ...."


If you implement this in your program, it might not work. If you clear the value of A everytime, you will be stuck with a 1 in the Accumalator after incrementing it once. So,everytime you will fetch the same character from the memory.

It still should be useful to extract one byte faster (as suggested by Roberto Munoz). For a string, you will need to store the value of A somewhere before using the MOVC instruction and sending the data from A to the port. If you use DPTR then you won't have to go through this.

-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