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 14:38
Read: times


 
#57449 - RE: Need Help reading DIP switch
Responding to: ???'s previous message
Eric, nice idea!
Btw, for this example I may suggest how to economy one code byte by changing SUBB with ADD:
a= value (0-00fh) 
jz acc_is_0 
add a,#-2
jz acc_is_2 
jnc acc_is_1 
add a,#-2
jz acc_is_4 
jnc acc_is_3 
;...
:)
Good days!


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