显示子程序:
ORG 055CH
MOV R0,#79H
MOV @R0,#01H
INC R0
MOV @R0,#01H
INC R0
MOV R0,#05H
INC R0
MOV @R0,#16H
INC R0
MOV @R0,#1BH
INC R0
MOV @R0,#1EH
MOV DPTR,#4F00H
MOV A,#0C3H
MOVX @DPTR,A
AJMP DISUP
ORG 0772H
MOV R0,#79H
MOV R3,#01H
MOV A,R3
MOV DPTR,#4F01H
MOVX @DPTR,A
INC DPTR
MOV A,@R0
ADD A,#12H
MOVC A,@A+PC
JNB F0,DISUP2
SETB a,7
MOVX @DPTR,A
ACALL D2MS
INC R0
MOV A,R3
JB A,5,DISUP3
RL A
MOV R3,A
AJMP DISUP1
ORG 0792H
TABLE:DB 3FH
DB 06H
DB 5BH
DB 4FH
DB 66H
DB 6DH
DB 7DH
DB 07H
DB 7FH
DB 6FH
DB 77H
DB 7CH
DB 39H
DB 5EH
DB 79H
DB 71H
DB 73H
DB 3EH
DB 3EH
DB 31H
DB 48H
DB 1CH
DB 23H
DB 40H
DB 03H
DB 18H
DB 80H
DB 00H
DB 3DH
DB 76H
DB 38H
DB 1EH
ORG 07B1H
D2MS :MOV R7,#02H
D2MS1:MOV R6,#0FFH
DJNZ R6,$
DJNZ R7,DSMS1
<< 上一页 [11] [12] [13] [14] [15] [16]