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 01:01
Read: times


 
#104024 - Eh???
Responding to: ???'s previous message
Paul Farronato said:
I know the difference between hex and binary :) thanks. What I meant was I don't know what exactly MOV TMOD #11010101B does.

It writes the binary value 11010101 to the TMOD register.

I know what each bit means from the tutorial on this site but I just don't understand what this instruction is actually doing.

It sets TMOD bit 7 (most-significant bit) to 1,
and TMOD bit 6 to 1
and TMOD bit 5 to 0
and TMOD bit 4 to 1
and TMOD bit 3 to 0
and TMOD bit 2 to 1
and TMOD bit 1 to 0
and TMOD bit 0 (least-significant bit) to 1

It sets all eight bits simultaneaously.




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