1. KEYBOARD DISPLAY CONTROLLER Aim: 1. Write a Program to interfacing of Keyboard Display Controller with Microcontroller 8051. Apparatus required: 8051 Microcontroller Trainer Kit, Keyboard Display Controller Interface Module AT-8051 Software Program: CMDB8255 EQU 0FF23H PAB8255 EQU 0FF20H PBB8255 EQU 0FF21H PCB8255 EQU 0FF22H ACC EQU 0E0H B EQU 0F0H ORG 8000H MOV A,#81H MOV DPTR,#CMDB8255 MOVX @DPTR,A READKEY: MOV R7,#00 MOV A,#0FH MOV DPTR,#PCB8255 MOVX @DPTR,A RELEZ: MOV DPTR,#PCB8255 MOVX A,@DPTR ANL A,#0FH CJNE A,#0FH,RELEZ
1. KEYBOARD DISPLAY CONTROLLER Aim: 1. Write a Program to interfacing of Keyboard Display Controller with Microcontroller 8051. Apparatus required: 8051 Microcontroller Trainer Kit, Keyboard Display Controller Interface Module AT-8051 Software Program: CMDB8255 EQU 0FF23H PAB8255 EQU 0FF20H PBB8255 EQU 0FF21H PCB8255 EQU 0FF22H ACC EQU 0E0H B EQU 0F0H ORG 8000H MOV A,#81H MOV DPTR,#CMDB8255 MOVX @DPTR,A READKEY: MOV R7,#00 MOV A,#0FH MOV DPTR,#PCB8255 MOVX @DPTR,A RELEZ: MOV DPTR,#PCB8255 MOVX A,@DPTR ANL A,#0FH CJNE A,#0FH,RELEZ
MPMC-lab-R15.docx