基于Proteus的點(diǎn)陣仿真16-96顯示六個(gè)漢字滾動(dòng)顯示_第1頁
基于Proteus的點(diǎn)陣仿真16-96顯示六個(gè)漢字滾動(dòng)顯示_第2頁
基于Proteus的點(diǎn)陣仿真16-96顯示六個(gè)漢字滾動(dòng)顯示_第3頁
基于Proteus的點(diǎn)陣仿真16-96顯示六個(gè)漢字滾動(dòng)顯示_第4頁
基于Proteus的點(diǎn)陣仿真16-96顯示六個(gè)漢字滾動(dòng)顯示_第5頁
已閱讀5頁,還剩18頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、ORG 0000HAJMP MAINORG 000BHLJMP INTT0ORG 0030HMAIN:MOV TMOD,#01HMOV TL0,#250MOV TH0,#235MOV DPTR,#0FEFFHMOV A,#80HMOVX DPTR,AMOV DPTR,#0FDFFHMOV A,#80HMOVX DPTR,ASETB EASETB ET0SETB TR0CLR 20H.0MOV R4,#0MOV R3,#0/*A1:MOV DPTR,#(TAB+64*0)LCALL DISPLAYJNB 20H.0,A1CLR 20H.0A2:MOV DPTR,#(TAB+64*1)LCALL

2、DISPLAYJNB 20H.0,A2CLR 20H.0A3:MOV DPTR,#(TAB+64*2)LCALL DISPLAYJNB 20H.0,A3CLR 20H.0A4:MOV DPTR,#(TAB+64*3)LCALL DISPLAYJNB 20H.0,A4CLR 20H.0 */*A5:MOV DPTR,#(TAB+32*4)LCALL DISPLAYJNB 20H.0,A5CLR 20H.0A6:MOV DPTR,#(TAB+32*5)LCALL DISPLAYJNB 20H.0,A6CLR 20H.0A7:MOV DPTR,#(TAB+32*6)LCALL DISPLAYJNB

3、20H.0,A7CLR 20H.0A8:MOV DPTR,#(TAB+32*7)LCALL DISPLAYJNB 20H.0,A8CLR 20H.0 */DDD:MOV DPTR,#TABDIS:LCALL DISPLAYJNB 20H.0,DISCLR 20H.0INC DPTRINC DPTRINC R3CJNE R3,#(14*16),DISMOV R3,#0LJMP DDDDISPLAY:LOOP2:MOV R0,#0MOV R1,#0MOV R2,#32MOV R5,#64MOV R7,#128LOOP:MOV P1,R1INC R1 MOV A,R0MOVC A,A+DPTRPUS

4、H DPHPUSH DPLMOV DPTR,#0FEFCHMOVX DPTR,AINC R0POP DPLPOP DPHMOV A,R0MOVC A,A+DPTRPUSH DPHPUSH DPLMOV DPTR,#0FEFDHMOVX DPTR,AINC R0POP DPLPOP DPH MOV A,R5MOVC A,A+DPTRPUSH DPHPUSH DPLMOV DPTR,#0FEFEHMOVX DPTR,AINC R5POP DPLPOP DPHMOV A,R5MOVC A,A+DPTRPUSH DPHPUSH DPLMOV DPTR,#0FDFCHMOVX DPTR,AINC R5P

5、OP DPLPOP DPHMOV A,R7MOVC A,A+DPTRPUSH DPHPUSH DPLMOV DPTR,#0FDFDHMOVX DPTR,AINC R7POP DPLPOP DPHMOV A,R7MOVC A,A+DPTRPUSH DPHPUSH DPLMOV DPTR,#0FDFEHMOVX DPTR,AINC R7POP DPLPOP DPHACALL DELAY1MSDJNZ R2,LOOPRETDELAY1MS: NOP MOV R6,#0F8HLOP1:NOP NOP DJNZ R6,LOP1 RETINTT0:PUSH ACCPUSH PSWPUSH DPHPUSH

6、DPLCLR TR0MOV TL0,#250MOV TH0,#245INC R4CJNE R4,#30,LLLMOV R4,#0SETB 20H.0LLL:SETB TR0POP DPLPOP DPHPOP PSWPOP ACCRETITAB:DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,1DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,2DB 00H,00H,00H,00H,00H,00H,00H,0

7、0H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,1DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,2DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,1DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,2DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00

8、H,00H,00H,00H,00H,00H,00H,00H; ,1DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,2DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,1DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,2DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00

9、H,00H,00H,00H,00H,00H; ,1DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H; ,2DB 14H,20H,24H,10H,44H,4CH,84H,43H;DB 64H,43H,1CH,2CH,20H,20H,18H,10H;DB 0FH,0CH,0E8H,03H,08H,06H,08H,18H;DB 28H,30H,18H,60H,08H,20H,00H,00H;歡,0DB 40H,40H,41H,20H,0CEH,1FH,04H,20H;DB 00H,40H,0FCH,47H,04

10、H,42H,02H,41H;DB 02H,40H,0FCH,5FH,04H,40H,04H,42H;DB 04H,44H,0FCH,43H,00H,40H,00H,00H;迎,1DB 00H,02H,04H,01H,84H,00H,0F4H,0FFH;DB 24H,40H,4FH,40H,44H,42H,4CH,5CH;DB 74H,48H,54H,40H,4FH,58H,44H,47H;DB 44H,42H,44H,40H,04H,40H,00H,00H;蒞,2DB 00H,00H,0F8H,1FH,00H,00H,00H,00H;DB 0FEH,7FH,40H,00H,30H,00H,8F

11、H,7FH;DB 0AH,21H,08H,21H,18H,3FH,68H,21H;DB 08H,21H,88H,7FH,08H,01H,00H,00H;臨,3DB 10H,04H,62H,04H,0CH,0FFH,0E0H,00H;DB 00H,02H,10H,02H,0CH,0FFH,17H,45H;DB 0A4H,44H,44H,44H,0A4H,44H,94H,44H;DB 0CH,0FDH,00H,03H,00H,01H,00H,00H;洛,4DB 00H,00H,0FEH,0FFH,02H,04H,22H,08H;DB 5AH,04H,86H,03H,00H,00H,0FEH,3FH

12、;DB 42H,10H,42H,10H,42H,10H,42H,10H;DB 42H,10H,0FEH,3FH,00H,00H,00H,00H;陽,5DB 44H,10H,44H,10H,0FCH,0FH,44H,08H;DB 44H,48H,00H,40H,0FEH,45H,92H,44H;DB 92H,44H,0FEH,7FH,92H,44H,92H,44H;DB 92H,44H,0FEH,45H,00H,40H,00H,00H;理,6DB 00H,20H,00H,20H,02H,20H,02H,20H;DB 02H,20H,02H,20H,02H,20H,0FEH,3FH;DB 02H,

13、20H,02H,20H,02H,20H,02H,20H;DB 02H,20H,02H,20H,00H,20H,00H,00H;工,7DB 00H,00H,00H,18H,00H,24H,00H,24H;DB 00H,18H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H;DB 00H,00H,00H,00H,00H,00H,00H,00H;。,0END#include#include#include#define com8155_1 XBYTE0 xfeff#define pa8155_1XBYTE0 xfefc#defin

14、e pb8155_1XBYTE0 xfefd#define pc8155_1XBYTE0 xfefe#define com8155_2 XBYTE0 xfdff#define pa8155_2XBYTE0 xfdfc#define pb8155_2XBYTE0 xfdfd#define pc8155_2XBYTE0 xfdfe#define com8155_3 XBYTE0 xfBff#define pa8155_3XBYTE0 xfBfc#define pb8155_3XBYTE0 xfBfd#define pc8155_3XBYTE0 xfBfe#define com8155_4 XBYT

15、E0 xf7ff#define pa8155_4XBYTE0 xf7fc#define pb8155_4XBYTE0 xf7fd#define pc8155_4XBYTE0 xf7fe#define uchar unsigned char#define uint unsigned intuchar ch=0;uint a=0;uchar code table=0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x0

16、0,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/ 0 x00,

17、0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,

18、1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,0*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0

19、 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,2*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,3*/0 x14,0 x20,0 x24,0 x10,0 x44,0 x4C,0 x84,0 x43,0 x64,0 x43,0 x1C,0 x2C,0 x20,0 x2

20、0,0 x18,0 x10,0 x0F,0 x0C,0 xE8,0 x03,0 x08,0 x06,0 x08,0 x18,0 x28,0 x30,0 x18,0 x60,0 x08,0 x20,0 x00,0 x00,/*歡,4*/0 x40,0 x40,0 x41,0 x20,0 xCE,0 x1F,0 x04,0 x20,0 x00,0 x40,0 xFC,0 x47,0 x04,0 x42,0 x02,0 x41,0 x02,0 x40,0 xFC,0 x5F,0 x04,0 x40,0 x04,0 x42,0 x04,0 x44,0 xFC,0 x43,0 x00,0 x40,0 x

21、00,0 x00,/*迎,5*/0 x00,0 x02,0 x04,0 x01,0 x84,0 x00,0 xF4,0 xFF,0 x24,0 x40,0 x4F,0 x40,0 x44,0 x42,0 x4C,0 x5C,0 x74,0 x48,0 x54,0 x40,0 x4F,0 x58,0 x44,0 x47,0 x44,0 x42,0 x44,0 x40,0 x04,0 x40,0 x00,0 x00,/*蒞,6*/0 x00,0 x00,0 xF8,0 x1F,0 x00,0 x00,0 x00,0 x00,0 xFE,0 x7F,0 x40,0 x00,0 x30,0 x00,0

22、 x8F,0 x7F,0 x0A,0 x21,0 x08,0 x21,0 x18,0 x3F,0 x68,0 x21,0 x08,0 x21,0 x88,0 x7F,0 x08,0 x01,0 x00,0 x00,/*臨,7*/0 x10,0 x04,0 x62,0 x04,0 x0C,0 xFF,0 xE0,0 x00,0 x00,0 x02,0 x10,0 x02,0 x0C,0 xFF,0 x17,0 x45,0 xA4,0 x44,0 x44,0 x44,0 xA4,0 x44,0 x94,0 x44,0 x0C,0 xFD,0 x00,0 x03,0 x00,0 x01,0 x00,

23、0 x00,/*洛,8*/0 x00,0 x00,0 xFE,0 xFF,0 x02,0 x04,0 x22,0 x08,0 x5A,0 x04,0 x86,0 x03,0 x00,0 x00,0 xFE,0 x3F,0 x42,0 x10,0 x42,0 x10,0 x42,0 x10,0 x42,0 x10,0 x42,0 x10,0 xFE,0 x3F,0 x00,0 x00,0 x00,0 x00,/*陽,9*/0 x44,0 x10,0 x44,0 x10,0 xFC,0 x0F,0 x44,0 x08,0 x44,0 x48,0 x00,0 x40,0 xFE,0 x45,0 x9

24、2,0 x44,0 x92,0 x44,0 xFE,0 x7F,0 x92,0 x44,0 x92,0 x44,0 x92,0 x44,0 xFE,0 x45,0 x00,0 x40,0 x00,0 x00,/*理,10*/0 x00,0 x20,0 x00,0 x20,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 xFE,0 x3F,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 x02,0 x20,0 x00,0 x20,0 x00,0

25、x00,/*工,11*/0 x00,0 x00,0 x00,0 x18,0 x00,0 x24,0 x00,0 x24,0 x00,0 x18,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/*。,12*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x0

26、0,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0

27、 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x0

28、0,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/* ,1*/0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論