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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/20/13 20:07
Read: times


 
#189276 - 8051 QUESTION
Looking for help with a 8051 and assembly

if i want to add inputs on P1 with P2 and output on P2 is that possible? tried simulating but doesnt operate as expected. It works if i use p3 as 2nd input then output on p2.
MOV A, P1
MOV B, P3
ADD A, B
MOV R0, A
MOV P2.1, C
MOV 0A0H, R0
END

List of 5 messages in thread
TopicAuthorDate
8051 QUESTION             01/01/70 00:00      
   Input/output            01/01/70 00:00      
   quasi bidirectional ports            01/01/70 00:00      
      Hardware            01/01/70 00:00      
         8051 basics            01/01/70 00:00      

Back to Subject List