11智能在线
新记
已知8051单片机的时钟频率为12MHz,用T1定时。试编程由P1.0和P1.1引脚分别输出周期为2ms和500us的方波。
用汇编语言写,最好说明过程,谢谢了。。
举报该文章
其他看法
第1个回答 2009-04-05
org 00h
sjmp start
org 01bh
mov th1,#1eh
mov tl1,#0ch
cpl p1.1
inc r2
mov a,r2
anl a,#11b
jnz exit
cpl p1.0
exit:reti
start:
setb ea
setb et1
setb tr1
sjmp $本回答被提问者采纳
相似回答
大家正在搜
相关问题
已知8051单片机的fosc=12MHz,用T1 定时,试编...
已知8051单片机的时钟频率为12MHz,用T1定时。试编程...
急需知答案 80C51单片机的时钟频率为12MHz,利用定时...
在AT89S51单片机中,已知时钟频率为12MHZ,请编程使...
设MCS-51单片机的晶振频率为12MHz,编程使P1.0端...
设mcs-51单片机中,晶振频率为12mhz,编程实现使p1...
求解 已知89C51单片机的[图片]=12MHz,用T1定时...
在80c51单片机应用系统中,已知时钟频率为12MHZ,试编...