vanbayhoang
Newbie level 6
![Newbie level 6](/styles/images/ranks/blevel3.gif)
Please can any one provide me asemble code for communicate with 8255 using at89c51!
thanks!
thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
MOV DPTR, #addres of A; in this example it is #4000h
MOV A, #what you want to send
MOVX @DPTR, A
MOV DPTR, #4003h
MOV A, #00010000b
MOVX @DPTR, A
MOV DPTR, #4000h; addres of Port A
MOV A, @DPTR