资源描述:
《基于Proteus的点阵仿真16-96显示六个汉字滚动显示.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ORG0000HAJMPMAINORG000BHLJMPINTT0ORG0030HMAIN:MOVTMOD,#01HMOVTL0,#250MOVTH0,#235MOVDPTR,#0FEFFHMOVA,#80HMOVX@DPTR,AMOVDPTR,#0FDFFHMOVA,#80HMOVX@DPTR,ASETBEASETBET0SETBTR0CLR20H.0MOVR4,#0MOVR3,#0/*A1:MOVDPTR,#(TAB+64*0)LCALLDISPLAYJNB20H.0,A1CLR20H.0A2:MOVDPTR,#(TAB+64*1)LCALLDISPLAYJNB20H.0,A2CLR20H
2、.0A3:MOVDPTR,#(TAB+64*2)LCALLDISPLAYJNB20H.0,A3CLR20H.0A4:MOVDPTR,#(TAB+64*3)LCALLDISPLAYJNB20H.0,A4CLR20H.0*//*A5:MOVDPTR,#(TAB+32*4)LCALLDISPLAYJNB20H.0,A5CLR20H.0A6:MOVDPTR,#(TAB+32*5)LCALLDISPLAYJNB20H.0,A6CLR20H.0A7:MOVDPTR,#(TAB+32*6)LCALLDISPLAYJNB20H.0,A7CLR20H.0A8:MOVDPTR,#(TAB+32*7)LCALLDI
3、SPLAYJNB20H.0,A8CLR20H.0*/DDD:MOVDPTR,#TABDIS:LCALLDISPLAYJNB20H.0,DISCLR20H.0INCDPTRINCDPTRINCR3CJNER3,#(14*16),DISMOVR3,#0LJMPDDDDISPLAY:LOOP2:MOVR0,#0MOVR1,#0MOVR2,#32MOVR5,#64MOVR7,#128LOOP:MOVP1,R1INCR1MOVA,R0MOVCA,@A+DPTRPUSHDPHPUSHDPLMOVDPTR,#0FEFCHMOVX@DPTR,AINCR0POPDPLPOPDPHMOVA,R0MOVCA,@A+
4、DPTRPUSHDPHPUSHDPLMOVDPTR,#0FEFDHMOVX@DPTR,AINCR0POPDPLPOPDPHMOVA,R5MOVCA,@A+DPTRPUSHDPHPUSHDPLMOVDPTR,#0FEFEHMOVX@DPTR,AINCR5POPDPLPOPDPHMOVA,R5MOVCA,@A+DPTRPUSHDPHPUSHDPLMOVDPTR,#0FDFCHMOVX@DPTR,AINCR5POPDPLPOPDPHMOVA,R7MOVCA,@A+DPTRPUSHDPHPUSHDPLMOVDPTR,#0FDFDHMOVX@DPTR,AINCR7POPDPLPOPDPHMOVA,R7M
5、OVCA,@A+DPTRPUSHDPHPUSHDPLMOVDPTR,#0FDFEHMOVX@DPTR,AINCR7POPDPLPOPDPHACALLDELAY1MSDJNZR2,LOOPRETDELAY1MS:NOPMOVR6,#0F8HLOP1:NOPNOPDJNZR6,LOP1RETINTT0:PUSHACCPUSHPSWPUSHDPHPUSHDPLCLRTR0MOVTL0,#250MOVTH0,#245INCR4CJNER4,#30,LLLMOVR4,#0SETB20H.0LLL:SETBTR0POPDPLPOPDPHPOPPSWPOPACCRETITAB:DB00H,00H,00H,0
6、0H,00H,00H,00H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",1DB00H,00H,00H,00H,00H,00H,00H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",2DB00H,00H,00H,00H,00H,00H,00H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",1DB00H,00H,00H,00H,00H,00H,00H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",2DB00H,00H,00H,00H,00H,00H,0
7、0H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",1DB00H,00H,00H,00H,00H,00H,00H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",2DB00H,00H,00H,00H,00H,00H,00H,00H;DB00H,00H,00H,00H,00H,00H,00H,00H;"",1DB00H,00H,0