ORG 0000H RESET;LJMP MAIN ORG 000BH AJMP ITOP ORG 1000H MIAN; SETB P1.0 JNB P1.1,LOOP LOOP; JNB P1.2,LOOP1 LOOP1;MOV SP,#60H MOV B,#90H MOV TMOD,#01H MOV TL0,#0B0H MOV TH0,#3CH SETB TR0 SETB ET0 SETB EA HERE; SJMP HERE ITOP; MOV TL0,#0B0H MOV TH0,#3CH DJNZ B,LOOP3 CLR TR0 CPL P1.0 LOOP3;RETI |