当前位置:首页 > 单片机 > 单片机
[导读] include ht47c20.incdata .section 'data'count db ?code .section at 0 'code'org 00hjmp startorg 04hretiorg 08hretiorg 0chjmp rtc_intorg 10hreti;****************************s

include ht47c20.inc
data .section 'data'
count db ?

code .section at 0 'code'
org 00h
jmp start
org 04h
reti
org 08h
reti
org 0ch

jmp rtc_int
org 10h
reti
;****************************
start: clr iNTC0
clr intc1
clr count
MOV a,07h
MOV rtCC,a
set intc0.3
set intc0.0
jmp $
;****************************
rtc_int:
inc count
reti
;********************************



Ht47实时时钟RCT)应用


本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除( 邮箱:macysun@21ic.com )。
换一批
延伸阅读
关闭