; MOV 5BH,#04H
AJMP COUNT_1
KK5: MOV 5BH,#05H
AJMP COUNT_1
KK6: MOV 5BH,#06H
AJMP COUNT_1
KK7: MOV 5BH,#07H
AJMP COUNT_1
KK8: MOV 5BH,#08H
AJMP COUNT_1
KK9: MOV 5BH,#09H
AJMP COUNT_1
KKE: AJMP END_P
COUNT_1: MOV A,44H ; 44H存按键次数
INC A
MOV 44H,A
CJNE A,#05H ,CW1 ; 按键次数是否达到4次
AJMP YUZHI ; 五次按键则重设阈值
CW1: ADD A,#54H ; 键盘按键存储空间
MOV R0,A
CW2: CLR A
MOV A,5BH
MOV @R0,A
LCALL PRO_SHOW
AJMP KEY_09
&