2020-08-25 18:49发布 生成海报
T0计数器计数,方式2工作,对p3.4输入单脉冲计数
ORG 0000H AJMP MAIN ORG 000BH AJMP TIME0 ORG 0100H MAIN: MOV IE,#00H MOV TMOD , #06H MOV TH0,#00H MOV TL0,#00H SETB TR0 TIME0: MOV P1,TL0 SJMP TIME0 END