CM12864-312864LCD12864KS0108/0107LMB12864FBCLM12864FFCLM12864LDYLM12864LFWOCM12864-4CM12864-3BLWAA-5V()CM12864-3SLWDA-5V(CM12864-3FLWAA-5V((1):3.0-3.3V/4.8-5V(2)STN//(3):(4):6/12/9(5):1/32Dvty;1/6Bias(6)(Ta):-20+70:-20+70(7):LED(/)(8):COB9KS0108.ORG0000HLJMPMAINORG0003HLJMPZHONGDUANORG0035HZHONGDUAN:LCALLDELAYCLREAJBP3.2,$SETBEALCALLDELAYRETICS1EQUP2.3CS2EQUP2.4DIEQUP2.0RWEQUP2.1EEQUP2.2DATA1EQU50HDATA2EQU51HDATA3EQU52H;*******************************WRITE_COMMAND_L:CLRCS1CLRRWCLRDIMOVP1,DATA1SETBECLRESETBCS1RET;*******************************WRITE_DATA_L:CLRCS1CLRRWSETBDIMOVP1,DATA2SETBECLRESETBCS1RET;*******************************WRITE_COMMAND_R:CLRCS2CLRRWCLRDIMOVP1,DATA1SETBE;DATABELOCKEDINFALLASIDECLRESETBCS2;CHIPSELECTRET;*******************************WRITE_DATA_R:CLRCS2CLRRWSETBDIMOVP1,DATA2SETBECLRESETBCS2RET;*****************************MS40:MOVR7,#0E8HMS2:MOVR6,#0FFHMS1:DJNZR6,MS1DJNZR7,MS2RETDELAY:MOVR5,#07HDELAY1:LCALLMS40DJNZR5,DELAY1RET;************************************MAIN:MOVP2,#0FFHMOVSP,#60HSETBEASETBEX0SETBIT0MOVDATA1,#3EH;DISPLAYOFFLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#3FH;DISPLAYONLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#0C0H;ZSTARTLINELCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#0B8H;PAGEADDRESS0LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40H;YADDRESS0LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDPTR,#CHINESE2MOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M27:MOVDATA1,DATA3LCALLWRITE_COMMAND_LMOVDATA1,#40HLCALLWRITE_COMMAND_LMOVR2,#64L27:CLRAMOVCA,@A+DPTRMOVDATA2,ALCALLWRITE_DATA_LINCDPTRDJNZR2,L27INCDATA3DJNZR1,M27MOVDPTR,#CHINESE1MOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M28:MOVDATA1,DATA3LCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_RMOVR2,#64L28:CLRAMOVCA,@A+DPTRMOVDATA2,ALCALLWRITE_DATA_RINCDPTRDJNZR2,L28INCDATA3DJNZR1,M28LCALLDELAYMOVDPTR,#CHINESE4MOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M29:MOVDATA1,DATA3LCALLWRITE_COMMAND_LMOVDATA1,#40HLCALLWRITE_COMMAND_LMOVR2,#64L29:CLRAMOVCA,@A+DPTRMOVDATA2,ALCALLWRITE_DATA_LINCDPTRDJNZR2,L29INCDATA3DJNZR1,M29MOVDPTR,#CHINESE3MOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M30:MOVDATA1,DATA3LCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_RMOVR2,#64L30:CLRAMOVCA,@A+DPTRMOVDATA2,ALCALLWRITE_DATA_RINCDPTRDJNZR2,L30INCDATA3DJNZR1,M30LCALLDELAYMOVR1,#8MOVDATA3,#0B8H;PAGE0MOVDATA1,DATA3M21:MOVDATA1,DATA3LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40H;COLUMN0LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVR2,#64L21:MOVDATA2,#0AAHLCALLWRITE_DATA_LLCALLWRITE_DATA_RDJNZR2,L21INCDATA3DJNZR1,M21LCALLDELAYMOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M22:MOVDATA1,DATA3LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVR2,#64L22:MOVDATA2,#55HLCALLWRITE_DATA_LLCALLWRITE_DATA_RDJNZR2,L22INCDATA3DJNZR1,M22LCALLDELAYMOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M23:MOVDATA1,DATA3LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVR2,#32L23:MOVDATA2,#0FFHLCALLWRITE_DATA_LLCALLWRITE_DATA_RMOVDATA2,#00HLCALLWRITE_DATA_LLCALLWRITE_DATA_RDJNZR2,L23INCDATA3DJNZR1,M23LCALLDELAYMOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M24:MOVDATA1,DATA3LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVR2,#32L24:MOVDATA2,#00HLCALLWRITE_DATA_LLCALLWRITE_DATA_RMOVDATA2,#0FFHLCALLWRITE_DATA_LLCALLWRITE_DATA_RDJNZR2,L24INCDATA3DJNZR1,M24LCALLDELAYMOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M25:MOVDATA1,DATA3LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVR2,#32L25:MOVDATA2,#0AAHLCALLWRITE_DATA_LLCALLWRITE_DATA_RMOVDATA2,#55HLCALLWRITE_DATA_LLCALLWRITE_DATA_RDJNZR2,L25INCDATA3DJNZR1,M25LCALLDELAYMOVR1,#8MOVDATA3,#0B8HMOVDATA1,DATA3M26:MOVDATA1,DATA3LCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVDATA1,#40HLCALLWRITE_COMMAND_LLCALLWRITE_COMMAND_RMOVR2,#32L26:MOVDATA2,#55HLCALLWRITE_DATA_LLCALLWRITE_DATA_RMOVDATA2,#0AAHLCALLWRITE_DATA_LLCALLWRITE_DATA_RDJNZR2,L26INCDATA3DJNZR1,M26LCALLDELAYLJMPMAIN;CHINESE1:DB0FFH,001H,021H,0A1H,021H,061H,0B1H,011H,011H,0D1H,081H,001H,001H,081H,061H,041HDB001H,001H,001H,001H,001H,001H,0E1H,0A1H,0A1H,0A1H,0A1H,0A1H,0A1H,0E1H,001H,001HDB001H,001H,001H,021H,021H,021H,0E1H,011H,011H,001H,021H,0C1H,001H,001H,0F1H,001HDB001H,001H,081H,081H,081H,0F1H,081H,081H,001H,081H,081H,081H,0F1H,081H,081H,081HDB0FFH,000H,008H,008H,08BH,068H,0FDH,02AH,049H,088H,088H,002H,021H,010H,088H,076HDB024H,000H,000H,0F0H,050H,050H,057H,052H,0F2H,002H,002H,0F2H,052H,057H,050H,050HDB0F0H,000H,041H,021H,019H,007H,0FFH,005H,049H,040H,042H,02CH,020H,020H,0FFH,010HDB010H,000H,010H,010H,008H,0FFH,004H,002H,000H,00CH,034H,0C4H,0C7H,024H,01CH,004HDB0FFH,000H,002H,001H,000H,000H,08FH,080H,080H,085H,004H,002H,002H,001H,000H,000HDB000H,000H,000H,007H,002H,002H,002H,002H,007H,000H,000H,007H,002H,002H,002H,002HDB007H,000H,000H,000H,000H,000H,00FH,080H,080H,000H,000H,000H,000H,000H,08FH,000HDB000H,000H,000H,004H,008H,087H,000H,004H,004H,002H,001H,000H,080H,001H,002H,006HDB0FFH,000H,041H,045H,059H,043H,0EDH,050H,048H,046H,044H,010H,008H,084H,043H,0