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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/09/03 22:24
Read: times


 
#45135 - Port status and bit status
MOV A,P1
LOOP: CJNE A,#01H,LOOP

will the above command will work if it is required to check Status of entire port...in above case if any bit of P1 goes high the instruction will move forward , if all bits are low it loop around CJNE Line.

Now if the above works how it is possible to find which bit is set ..but if the above does not works any command to check status of entire port and then selecting which bit is set or cleared.


List of 33 messages in thread
TopicAuthorDate
Port status and bit status            01/01/70 00:00      
   RE: Port status and bit status            01/01/70 00:00      
      RE: Port status and bit status            01/01/70 00:00      
   RE: Port status and bit status            01/01/70 00:00      
      is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
            RE: is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
            My Approach            01/01/70 00:00      
               RE: My Approach            01/01/70 00:00      
               RE: My Approach            01/01/70 00:00      
               RE: My Approach            01/01/70 00:00      
                  use of interputs for polling            01/01/70 00:00      
                     RE: use of interputs for polling            01/01/70 00:00      
                        RE: use of interputs for polling            01/01/70 00:00      
                           RE: project            01/01/70 00:00      
                              RE: project            01/01/70 00:00      
                                 RE: project            01/01/70 00:00      
                           RE: project            01/01/70 00:00      
                              RE: project            01/01/70 00:00      
                                 how come this happens            01/01/70 00:00      
                                    RE: how come this happens            01/01/70 00:00      
                                       RE: how come this happens            01/01/70 00:00      
                                    RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                       RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                       RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                          RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                    RE: someone Help            01/01/70 00:00      
                                       RE: someone Help            01/01/70 00:00      
   Thankyou            01/01/70 00:00      
      RE: Thankyou            01/01/70 00:00      

Back to Subject List