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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/02/04 15:58
Read: times


 
#65819 - Using two ports
I want to extract information from pins P3.6 and P3.7 and store this in R1 of register bank 1. The information derived from the switches connected to P3.6 and P3.7 can be any of the following states.
P3.7 P3.6
0 0 row1:with this State jump and do someting.
0 1 row2:with this State jump and do someting.
1 0 row3:with this State jump and do someting.
1 1 row4:with this State jump and do someting.

When either one of these conditions is reached a certain action must be taken. I'm using Keil uVision2.asm. Can any one help me how to check the states and then jump to a certain function. Any help would be grealy appreceated.

List of 4 messages in thread
TopicAuthorDate
Using two ports            01/01/70 00:00      
   RE: Using two ports            01/01/70 00:00      
      RE: Using two ports            01/01/70 00:00      
         RE: Using two ports            01/01/70 00:00      

Back to Subject List