ORG 000BH MOV A_BAK1, TL0 JNB A_BAK1.0, L20 AJMP L21 ;----------------------------- ;............. ;............. ;------------------ L20: SETB A_BAK1.0 L21: XCH A, A_BAK1 XRL A, #00001111B RR A ; * 1/2 JZ L21 DJNZ ACC, $ L21: ;---------------------- MOV TH0, TH0_2 MOV TL0, TL0_2 MOV A, A_BAK1 ACALL INT_RET PUSH PSW MOV A_BAK2, A ;..... ;..... MOV TH0_2, A ;..... ;..... MOV TL0_2, A MOV A, A_BAK2 POP PSW RET
INT_RET: RETI |