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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/26/02 17:59
Read: times


 
#27955 - RE: AT89C4051 --> external databus
thx for the tips
Is this correct?
//READ from extern adress
setb ALE
mov P1,ReadAdress //write readadress to P1
clr ALE
clr CS
mov P1,#0FFh
clr RD
mov ReadData,P1 // read data from P1
setb RD
setb CS
RET

//WRITE to external adress
setb ALE
mov P1,WriteAdress//write extern adres to P1
clr ALE
clr CS
clr WR
mov P1,WriteData //write data to P1
setb WR
setb CS
RET

List of 12 messages in thread
TopicAuthorDate
AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
Peter can you check my code plz            01/01/70 00:00      
RE: Peter can you check my code plz            01/01/70 00:00      

Back to Subject List