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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/29/03 13:25
Read: times


 
#57443 - RE: Need Help reading DIP switch
Responding to: ???'s previous message
I have, on occasion used the code below which saves some SUBBs

a= value (0-00fh)
jz acc_is_0
clr c
subb a,#2
jc acc_is_1
jz acc_is_2
subb a,#2
jc acc_is_3
jz acc_is_4
,....


Erik


List of 13 messages in thread
TopicAuthorDate
Need Help reading DIP switch            01/01/70 00:00      
   JMP @A+DPTR instruction could help            01/01/70 00:00      
      RE: JMP @A+DPTR instruction could help            01/01/70 00:00      
         one more way of doing it            01/01/70 00:00      
      RE: JMP @A+DPTR instruction could help            01/01/70 00:00      
   RE: Need Help reading DIP switch            01/01/70 00:00      
      RE: Need Help reading DIP switch            01/01/70 00:00      
      RE: Need Help reading DIP switch            01/01/70 00:00      
         RE: Need Help reading DIP switch            01/01/70 00:00      
         RE: Need Help reading DIP switch            01/01/70 00:00      
            RE: Need Help reading DIP switch            01/01/70 00:00      
            RE: Need Help reading DIP switch            01/01/70 00:00      
   RE: Need Help reading DIP switch            01/01/70 00:00      

Back to Subject List