led interfacing with 8051 via 8255

Status
Not open for further replies.

soh m

Newbie level 6
Joined
Jun 20, 2011
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,375
how to interface a LED with intel 8051 via 8255?? can anyone tell me the assembly language programming and as well as the circuit diagram..... please... its urgent

with regards----
soh m

---------- Post added at 16:35 ---------- Previous post was at 16:34 ----------

have written this program-----

ORG 8100H
MOV DPTR,#0E803H
MOV A,#10000000B
MOVX @DPTR,A
MOV DPTR,#0E800H
MOV A,#0AAH
MOVX @DPTR,A
END

what should i add????
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…