Hi Friend here i am written INTERFACING 8279 KEYBOARD/DISPLAY CONTROLLER WITH 8085 MICROPROCESSOR
PROGRAM Comment
START: LXI H,4130H
MVI D,0FH ; Initialize counter.
MVI A,10H
OUT C2H ; Set Mode and Display.
MVI A,CCH ; Clear display.
OUT C2H
MVI A,90H ; Write Display
OUT C2H
LOOP: MOV A,M
OUT C0H
CALL DELAY
INX H
DCR D
JNZ LOOP
JMP START
DELAY: MVI B, A0H
LOOP2: MVI C, FFH
LOOP1: DCR C
JNZ LOOP1
DCR B
JNZ LOOP2
RET
No comments:
Post a Comment