?? 931.asm
字號(hào):
.include "8535def.inc"
.org $000
rjmp main
main: ldi r16,low(ramend) ;棧指針置初值
out spl,r16
ldi r16,high(ramend)
out spH,r16
ldi r16,$07 ;上升沿計(jì)數(shù)
out tccr0,r16
ldi r16,0 ;T/C0置初值0
out tcnt0,r16
ldi r16,$ff ;PC口作輸出
out ddrc,r16
loop: in r16,tcnt0
out portc,r16
rjmp loop
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -