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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/23/05 07:00
Read: times


 
#104029 - Not quite...
Responding to: ???'s previous message
Paul Farronato said:
I thought the mov instruction also started the counter but you have to use the set instruction to do that.

It's not the specific instruction that starts the counter - it's the value of the TR0 or TR1 bit that starts and stops the timer!

TCON is Bit Addressable, so you can use the SET instruction to set individual bits, or MOV to write all the bits at once.

See: http://www.8052.com/tuttimer.phtml#TCON



List of 14 messages in thread
TopicAuthorDate
TMOD            01/01/70 00:00      
   Math            01/01/70 00:00      
   TMOD            01/01/70 00:00      
      clarification            01/01/70 00:00      
         Eh???            01/01/70 00:00      
            thanks            01/01/70 00:00      
               Not quite...            01/01/70 00:00      
                  direct addressing            01/01/70 00:00      
                     The point being...            01/01/70 00:00      
         answer for tmod problem            01/01/70 00:00      
            Tutorial???            01/01/70 00:00      
   which is a whole lot easier to read            01/01/70 00:00      
   answer for tmod problem            01/01/70 00:00      
      Samirul, I am sure that Paul has been pa            01/01/70 00:00      

Back to Subject List