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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/24/02 13:37
Read: times


 
#19057 - RE: Problem with interfacing peripherals
Of Port-1 of 89C58,pin-1(p1.0)
for decoder input p1.1 & p1.2
for decoder 'G'pin RD and WR are anded and given
output Y0(00) is connected for RAM chip select
for generating rest chip selects, I am using other half of decoder(2-4 decoders 2 in a chip-74139)for the 'G' of the rest half input is Y3(11)

code for accessing a RAM location XREG's data to acc is

mov dptr,#xreg
orl p1,#0fh ;intention is set lines
mov a,@dptr
xrl p1,#0fh ;intenstion is clear lines(p1.0,1.1& 1.2)
ret

I am using AVOCET SYSTEM's 8051 assmbly language compiler

Please let me know about my printer problem






List of 9 messages in thread
TopicAuthorDate
Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      
RE: Problem with interfacing peripherals            01/01/70 00:00      

Back to Subject List