;***** Global register variables .def temp =R16 ;temporary storage register .def count1 =R17 .def count2 =R18 .def count3 =R19 .cseg .org 0 rjmp reset ;***** Program Execution Starts Here .org 16 ;avoid all possible interrupt vectors reset: ldi temp,0xff ;port B pins all outputs out DDRB,temp loop: dec temp out PORTB,temp ldi count1,100 waitsome: ldi count2,100 waitmore: dec count2 brne waitmore dec count1 brne waitsome rjmp loop .include "1200def.inc"