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

Back to Subject List

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


 
#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       JOHN TRINCE      01/20/13 13:07      
   Input/output      Joseph Hebert      01/20/13 13:35      
   quasi bidirectional ports      Koen De Ganck      01/20/13 13:41      
      Hardware      Joseph Hebert      01/21/13 04:41      
         8051 basics      Andy Neil      01/21/13 05:51      

Back to Subject List