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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/27/00 18:59
Read: times


 
#3438 - RE: Keypad issues
Richard,

There is another code:

MVI D,000H ;New value Y in E
DAD H ;2*X
XCHG
DAD D ;HL=2*X+Y, DE=2*X
XCHG
DAD H ;HL=4*X
DAD H ;HL=8*X
DAD D ;HL=10*X+Y

It works on 20% faster and use HL and DE only.

Regards,

George


List of 20 messages in thread
TopicAuthorDate
Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
Debouncing Keypads            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
Keypad issues            01/01/70 00:00      
RE: Debounced switch            01/01/70 00:00      

Back to Subject List