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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/30/01 11:37
Read: times


 
#16150 - RE: How to access Port 0 & Port 2
Hi andi,

if this is the code you're using:

start :
mov p0,#55h
mov p0,#55h
mov p2,#aah
mov p2,#55h
sjmp start

then I see why it doesn't work:

1. writing twice #55h to port 0 doesn't change anything,

2. you can't write to P2. It is used to access external memory. Better use P3, then it will work

Good luck!

Juergen

List of 9 messages in thread
TopicAuthorDate
How to access Port 0 & Port 2            01/01/70 00:00      
RE: How to access Port 0 & Port 2            01/01/70 00:00      
RE: How access Port 0 & Port 2, Juergen            01/01/70 00:00      
RE: How access Port 0 & Port 2, Juergen            01/01/70 00:00      
RE: How to access Port 0 & Port 2            01/01/70 00:00      
RE: How to access Port 0 & Port 2            01/01/70 00:00      
RE: How access Port 0 & Port 2, Juergen            01/01/70 00:00      
RE: How access Port 0 & Port 2, Juergen            01/01/70 00:00      
RE: How to access Port 0 & Port 2            01/01/70 00:00      

Back to Subject List