E1: MOV 20H,#0
LJMP KEYH
E2: MOV 20H,#4
LJMP KEYH
E3: MOV 20H,#8
LJMP KEYH
E4: MOV 20H,#12
LJMP KEYH
KEYH:MOV A,47H
JNB ACC.0,D0
JNB ACC.1,D1
JNB ACC.2,D2
JNB ACC.3,D3
SETB EX0
RETI
D0: MOV A,#0
ADD A,20H
MOV 59H,A
MOV B,#3
MUL AB
JMP @A+DPTR
D1: MOV A,#1
ADD A,20H
MOV 59H,A
MOV B,#3
MUL AB
JMP @A+DPTR
D2: MOV A,#2
ADD A,20H
MOV 59H,A
MOV B,#3
MUL AB
JMP @A+DPTR
D3: MOV A,#3
ADD A,20H
MOV 59H,A
MOV B,#3
MUL AB
JMP @A+DPTR
JS: LJMP LOOP0
LJMP LOOP1
LJMP LOOP2
LJMP LOOP3
LJMP LOOP4
LJMP LOOP5
LJMP LOOP6
LJMP LOOP7
LJMP LOOP8
LJMP LOOP9
LJMP LOOP10
LJMP LOOP11
LOOP0:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP1:
ACALL SHIFT1
www.751com.cn
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP3:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP4:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP5:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP6:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP7:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP8:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP9:
ACALL SHIFT1
MOV P2,#0F0H
SETB EX0
RETI
LOOP10:
SETB F0 ;按下设置键
MOV COUNT,#1
MOV P2,#0F0H597
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>