GON2:CJNE A,#0FH,GON3
JNB 27H,XC1
LJMP XIA3
XC1: JNB 2AH,XC2
MOV R0,#6FH
MOV R1,#8FH
MOV R3,#4
SETB RS1
MOV R0,#49H
XC2: LJMP XIA3
GON3:CJNE A,#0AH,GON4
JNB 2AH,QR1
JNB 2BH,QR1
MOV R4,#4
MOV DPTR,#4400H
MOV R0,#40H
ZD: MOV A,@R0
MOVX @DPTR,A
INC R0
INC DPTR
DJNZ R4,ZD
MOV A,47H
MOV R4,#5
ZH: RL A
DJNZ R4,ZH
MOV 4AH,A
MOV A,47H
MOV R4,#4
ZH1: RL A
DJNZ R4,ZH1
ADD A,4AH
MOV 4AH,A
MOV A,47H
RL A
RL A
ADD A,4AH
MOV 4AH,A
MOV A,48H
RL A
RL A
RL A
ADD A,4AH
MOV 4AH,A
MOV A,48H
RL A
ADD A,48H
MOV 4AH,A
MOV A,48H
ADD A,4AH
MOV DPTR,#4404H
MOVX @DPTR,A
QR1: LJMP XIA3
GON4: LJMP XIA3
STA0: LCALL DQSJ
MOV TMOD,#22H
MOV TH1,#0FDH
MOV TL1,#0FDH
MOV TH0,#00H
MOV TL0,#00H
MOV SCON,#0D8H
MOV PCON,#0
MOV R7,#255
MOV R6,#255
MOV IE,#86H
MOV IP,#05H
SETB TR1
MOV 3CH,#05H
LCALL CJZT
MOV 3CH,#04H
LCALL FSSJ
JNB 21H,STA2
MOV A,3BH
XRL A,37H
JZ STA1
MOV 3CH,#06H
LCALL CJSJ
STA1: SETB 21H
STA2: MOV 3BH,37H
MOV A,3EH
XRL A,36H
JZ STA3
MOV 3CH,01H
LCALL CJSJ
MOV 3EH,36H
STA3: SETB TR0
SETB EX0
SETB ES
MAIN: NOP
AJMP MAIN
INN0:NOP
RETI
INN1:NOP
RETI
TOXI: NOP
RETI
XGSJ: CLR RST
CLR SCLK
NOP
SETB RST
MOV R0,#3AH
MOV @R0,#00H
MOV R3,#8EH
ACALL XGS1
MOV R0,#33H
MOV R3,#80H
MOV R1,#07H
ACALL XGS1
AJMP XGS4
XGS1: MOV A,R3
MOV R2,#08H
XGS2: RRC A
MOV IO,C
NOP
SETB SCLK
NOP
CLR SCLK
DJNZ R2,XGS2
<< 上一页 [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] 下一页