16*16点阵左移汇编程序 5

 我来答
百度网友718258d
2009-11-15 · TA获得超过1079个赞
知道小有建树答主
回答量:288
采纳率:0%
帮助的人:0
展开全部
ORG 0000H
LJMP MAIN
ORG 000BH
LJMP TIME
ORG 0100HMAIN: MOV SP,#60H
MOV TMOD,#01H
MOV TL0,#0B0H
MOV TH0,#3CH
SETB TR0
SETB ET0
MOV R2,#2 ;滚动时间
MOV DPTR,#TAD+2
MOV 20H,DPH
MOV 21H,DPL
MOV DPTR,#TAB
SETB EASCA: MOV R1,DPH
MOV R5,DPL
MOV R3,#00H ;扫描信号初值
MOV R4,#00H
SCA1: MOV P3,R3
MOV A,R4
MOVC A,@A+DPTR
MOV P1,A
INC R4
MOV A,R4
MOVC A,@A+DPTR
MOV P2,A
CALL DEL
MOV P1,#00H
MOV P2,#00H
INC R4
INC R3
CJNE R3,#10H,SCA1
LJMP SCADEL: MOV R6,#5
DEL1: MOV R7,#80
DJNZ R7,$
DJNZ R6,DEL1
RETTIME: CLR EA
MOV 30H,A
PUSH 30H
MOV TL0,#0B0H
MOV TH0,#3CH
DJNZ R2,LOOP
MOV R2,#2
CLR C
MOV A,R5
ADD A,#2
MOV R5,A
MOV DPL,R5
MOV A,R1
ADDC A,#0
MOV R1,A
MOV DPH,R1
CJNE A,20H,LOOP
MOV A,R5
CJNE A,21H,LOOP
MOV DPTR,#TAB
LOOP: POP 30H
MOV A,30H
SETB EA
RETITAB: DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H

DB 10H,04H,21H,0FCH,62H,02H,16H,01H,90H,7FH,90H,20H,0FFH,20H,90H,20H
DB 0D0H,0BFH,90H,40H,0FEH,3FH,22H,42H,22H,82H,0FFH,7FH,02H,00H,00H,00H ;

DB 80H,00H,70H,40H,00H,30H,0FFH,0FH,00H,00H,10H,00H,60H,00H,00H,00H
DB 0FEH,3FH,00H,00H,10H,00H,60H,00H,00H,00H,0FFH,0FFH,00H,00H,00H,00H ; DB 00H,00H,0FCH,8FH,00H,40H,00H,30H,0FFH,0FH,00H,00H,02H,00H,0F2H,3FH
DB 12H,00H,12H,00H,0FEH,0FFH,12H,10H,12H,20H,0FBH,1FH,12H,00H,00H,00H ; DB 04H,04H,44H,04H,94H,0FDH,24H,04H,6FH,02H,04H,00H,0E4H,3FH,24H,40H
DB 24H,40H,24H,42H,2FH,44H,0F4H,43H,24H,40H,06H,40H,04H,70H,00H,00H ; DB 40H,04H,30H,04H,11H,04H,96H,04H,90H,04H,90H,44H,91H,84H,96H,7EH
DB 90H,06H,90H,05H,98H,04H,14H,04H,13H,04H,50H,06H,30H,04H,00H,00H ; DB 00H,00H,0FEH,0FFH,22H,04H,5AH,08H,96H,87H,0CH,81H,24H,41H,24H,31H
DB 25H,0FH,26H,01H,24H,3FH,34H,41H,0A4H,41H,14H,41H,0CH,70H,00H,00H ;

DB 80H,00H,40H,00H,20H,00H,0F8H,0FFH,07H,00H,24H,01H,24H,0FDH,24H,45H
DB 25H,45H,26H,45H,24H,45H,24H,45H,24H,0FDH,26H,01H,04H,00H,00H,00H ; DB 00H,40H,00H,30H,00H,00H,0FCH,77H,0A4H,84H,0A6H,84H,0A5H,8CH,0A4H,94H
DB 0A4H,0B4H,0A4H,84H,0A4H,84H,0FCH,0E7H,00H,00H,00H,10H,00H,60H,00H,00H ; DB 00H,20H,04H,20H,04H,20H,04H,20H,04H,20H,04H,20H,04H,20H,0FCH,3FH
DB 04H,20H,04H,20H,04H,20H,04H,20H,06H,20H,04H,30H,00H,20H,00H,00H ; DB 24H,08H,24H,06H,0A4H,01H,0FEH,0FFH,0A3H,00H,22H,43H,20H,41H,7EH,49H
DB 42H,49H,42H,49H,42H,7FH,42H,49H,42H,4DH,7EH,69H,00H,41H,00H,00H ; DB 40H,04H,30H,04H,11H,04H,96H,04H,90H,04H,90H,44H,91H,84H,96H,7EH
DB 90H,06H,90H,05H,98H,04H,14H,04H,13H,04H,50H,06H,30H,04H,00H,00H ; DB 00H,00H,0FEH,0FFH,22H,04H,5AH,08H,96H,87H,0CH,81H,24H,41H,24H,31H
DB 25H,0FH,26H,01H,24H,3FH,34H,41H,0A4H,41H,14H,41H,0CH,70H,00H,00H ; DB 00H,00H,0E0H,0FH,0F0H,1FH,08H,20H,08H,20H,18H,30H,0F0H,1FH,0C0H,07H ;
DB 00H,06H,00H,07H,80H,04H,40H,24H,20H,24H,0F0H,3FH,0F8H,3FH,00H,24H ;
DB 00H,00H,0E0H,0FH,0F0H,1FH,08H,20H,08H,20H,18H,30H,0F0H,1FH,0C0H,07H ;
DB 00H,00H,70H,1EH,0F8H,3FH,88H,21H,88H,21H,88H,21H,0F8H,3FH,70H,1EH ;
DB 00H,00H,70H,30H,78H,38H,08H,34H,08H,32H,08H,31H,0F0H,38H,00H,00H ;
DB 00H,00H,70H,30H,78H,38H,08H,34H,08H,32H,08H,31H,0F0H,38H,00H,00H ; DB 84H,60H,84H,60H,0FCH,3FH,84H,10H,06H,92H,0F4H,41H,00H,38H,0FFH,07H
DB 00H,40H,84H,40H,84H,40H,0FCH,7FH,84H,40H,86H,60H,04H,40H,00H,00H ; DB 02H,00H,0E2H,43H,22H,82H,22H,42H,3FH,3EH,82H,00H,80H,00H,0FFH,0FFH
DB 80H,40H,0A0H,23H,90H,0CH,88H,10H,86H,20H,0C0H,60H,80H,20H,00H,00H ; DB 40H,00H,20H,00H,0F8H,0FFH,07H,44H,88H,29H,48H,19H,38H,27H,10H,49H
DB 54H,89H,54H,89H,0FFH,0FFH,54H,89H,54H,89H,7CH,0CDH,10H,49H,00H,00H ; DB 80H,00H,40H,00H,20H,00H,0F8H,0FFH,87H,00H,40H,00H,30H,00H,0FH,00H
DB 0F8H,0FFH,88H,08H,88H,08H,0C8H,08H,88H,0CH,0CH,08H,08H,00H,00H,00H DB 00H,00H,00H,0FFH,00H,41H,7EH,41H,22H,41H,22H,41H,22H,0FFH,22H,00H
DB 22H,0FFH,22H,41H,22H,41H,7EH,41H,00H,41H,00H,0FFH,00H,00H,00H,00HTAD: DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
END
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式