LCDBUF1 BYTE 74H LCDBUF2 BYTE 75H LCDBUF3 BYTE 76H LCDB UF4 BYTE 77H LCDBUF5 BYTE 78H LCDBUF6 BYTE 79H LCDBUF7 BYTE 7AH LCDBUF8 BYTE 7BH LCDBUF9 BYTE 7CH LCDBUF10 BYTE 7DH LCDBUF11 BYTE 7EH LCDBUF 12 BYTE 7FH SCL EQI7 P1.2 SDI EQU P1.5 CE EQU PL4 DISPLAY: CPL WDT SETS CE MOV R0.#LCDBUF1 MOV DPTR,#SEG MOV R2,#U6H DISPAY: MOV A, @ R0 INC R0 MOVC A,@A+DPTR ACALL DISPOUT DJNZ R2,DISPAY MOV A;#00000000B ACALL DISPOUT CLR CE NOP NOP SETB CE MOV R2,#06H DISPB: MOV A,@R0 INC R0 MOVC A,@A+DPTR ACALL DISPOUT DJNZ R2,DISPB MOV A,#10000000B ACALL DISPOUT CLR CE RET DISPOUT: CLR SDI MOV R3,#08H DISPC: RRC A JNC DISPD SETB SDI DISPD: SETB SCL CLR SCL CLR SDI DJNZ R3,DISPC RET SEG: DB 0FCH,60H,0DAH,0F2H,66H,0B6H,0BEH,0E0H DB 0FEH,0F6H,0EEH,3EH,9CH,7AH,9EH,8EH DB 0FDH,61H,0DBH,0F3H,67H,0B7H,0BFH,0E1H DB 0FFH,0F7H,0EFH,3FH,9DH,7BH,9FH,8FH DB 00H,01H