xxxxxxxxxx
;***************************************************
;*
;* blink.t412.asm
;*
;* blink LED on any pin of PORTA
;*
;* (c) lingdong huang 2023, MIT License
;*
;***************************************************
.include "./inc/tn412def.inc"
ser r27
ser r16
sts PORTA_DIRSET,r16
loop:
sts PORTA_OUT,r16
com r16
rcall delay
rcall delay
rjmp loop
delay:
nop
nop
nop
nop
sbiw r26, 1
brne delay
ret