مثلا این یه برنامست که خیلی ساده می باشد!
.def count= r16 ;Reg 16 will hold counter value
.def temp = r17 ;used as a temporary register
.equ PORTB= 0x18 ;Port B's output register
.equ DDRB = 0x17 ;Port B's Data Direction Register
ldi temp,0xFF ;configure PORTB as output
out DDRB,temp
ldi count,0x00 ;Initialize count at 0
lp:
com count ;flip bits for light signal
out PORTB,count ;Put counter value on PORT B
com count ;flip bits back again
inc count ;increment counter
rjmp lp ;repeat (forever)
رزرواشم پیدا نمی کنم!