1

1.MOV TMOD,#15H
2.SETB P3.4
3.MOV R1,#28
4.MOV TL0,#00H
5.MOV TH0,#00H
6.MOV TL1,#00H
7.MOV TH1,#00H
8.SETB TR0
9.HERE2: SETB TR1
10.HERE: JNB TF1, HERE
11.CLR TF1
12.CLR TR1
13.DJNZ R1, HERE2
14.CLR TR0
15.CLR TR1
This program written above is to count the frequency of pulse which is present ...