资源描述:
《16×16LED点阵显示屏电路及程序》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ORG0000HAJMPSTORG0003HAJMPKUAIORG0013HAJMPMANORG0030HST:MOVP0,#00H;开始MOVP2,#00HMOVIE,#05HMOVIP,#01HMOVTCON,#05HSETBEAMOVR0,#90HMOV@R0,#180MAIN:JNBP3.0,K1K1:LCALLD1MSJNBP3.0,BEGINAJMPMAINBEGIN:JNBP3.1,K2K2:LCALLD1MSJNBP3.1,K22SJMPNEXTK22:LJMPMAINNEXT:MOVDPTR,#TA
2、B;主程序MOVR1,#00HMOVR4,#255;16*字数CM:MOVR5,#7MOVR3,#16C1:MOVR2,#0C16:MOVP0,#00HMOVP2,#00HMOVA,R2MOVCA,@A+DPTRMOVP0,AINCR2MOVA,R2MOVCA,@A+DPTRMOVP2,AINCR2MOVP1,R1INCR1ACALLD1MSDJNZR3,C16MOVR3,#16DJNZR5,C1INCDPTRINCDPTRDJNZR4,CMAJMPBEGIND1MS:MOVA,@R0MOVR6,#3MOVR7,AD
3、JNZR7,$DJNZR6,$-4RETKUAI:MOV@R0,#120RETIMAN:MOV@R0,#255RETITAB:zero:DB000H,000H,000H,000H,000H,000H,000H,000HDB000H,000H,000H,000H,000H,000H,000H,000HDB000H,000H,000H,000H,000H,000H,000H,000HDB000H,000H,000H,000H,000H,000H,000H,000H;0ZHONG:DB000H,000H,0F8H,003H
4、,008H,001H,008H,001HDB008H,001H,008H,001H,008H,001H,0FFH,0FFHDB008H,001H,008H,001H,008H,001H,008H,001HDB008H,001H,0FCH,003H,008H,000H,000H,000HGUO:DB000H,000H,0FEH,0FFH,002H,040H,00AH,050HDB08AH,050H,08AH,050H,08AH,050H,0FAH,05FHDB08AH,050H,0CAH,052H,08EH,054H,
5、00AH,050HDB002H,040H,0FFH,0FFH,002H,000H,000H,000HKUANG:DB004H,002H,004H,001H,0E4H,03FH,09CH,010HDB084H,090H,0C6H,05FH,084H,020H,0F8H,01FHDB008H,000H,009H,000H,00EH,000H,008H,000HDB008H,000H,00CH,000H,008H,000H,000H,000HYE:DB000H,040H,010H,040H,060H,040H,080H,0
6、47HDB000H,040H,0FFH,07FH,000H,040H,000H,040HDB000H,040H,0FFH,07FH,000H,044H,000H,043HDB0C0H,040H,030H,060H,000H,040H,000H,000HDA1:DB020H,000H,020H,040H,020H,040H,020H,020HDB020H,010H,020H,00CH,0A0H,003H,07FH,000HDB0A0H,001H,020H,006H,020H,008H,020H,010HDB020H,0
7、20H,030H,060H,020H,020H,000H,000HXUE:DB040H,004H,030H,004H,011H,004H,096H,004HDB090H,004H,090H,044H,091H,084H,096H,07EHDB090H,006H,090H,005H,098H,004H,014H,004HDB013H,004H,050H,006H,030H,004H,000H,000HXIN:DB080H,000H,040H,000H,020H,000H,0F8H,0FFHDB007H,000H,024
8、H,001H,024H,0FDH,024H,045HDB025H,045H,026H,045H,024H,045H,024H,045HDB0B4H,0FDH,026H,001H,004H,000H,000H,000HXI:DB000H,040H,000H,030H,000H,000H,0FCH,077HDB0A4H,084H,0A6H,084H