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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/03 16:13
Read: times


 
#42557 - RE: keypad routine
Responding to: ???'s previous message
The reason you are always pulling the first character of each row is before calling the FIND routine you have done an ANL A #11110000 which leaves the right nibble of A all 0's. In walking through your code the key column info actually winds up in the left nibble of A. If you modify your FIND routine as below it will probably work.

find: SWAP A
FIND1: rrc a
jnc match
inc dptr
sjmp FIND1

Hal

List of 7 messages in thread
TopicAuthorDate
keypad routine            01/01/70 00:00      
   RE: keypad routine            01/01/70 00:00      
   RE: keypad routine            01/01/70 00:00      
   RE: keypad routine            01/01/70 00:00      
   RE: keypad routine            01/01/70 00:00      
   RE: keypad routine - schmatic helpful            01/01/70 00:00      
      Modification??            01/01/70 00:00      

Back to Subject List