.include "tn15def.inc" .equ LED = PB0 .def temp1 = R17 .def temp2 = R18 .cseg .org 0 rjmp main delay: ldi temp2, 0xFF _delay1: ldi temp2, 0xFF _delay2: dec temp1 brne _delay2 dec temp2 brne _delay1 ret main: ; set the dir bit sbi DDRB, LED loop: ; turn off the pin sbi PORTB, LED ; call the delay recall delay ; turn off the pin cbi PORTB, LED ; call the delay recall delay ; loop back to main rjmp loop