.include "m32def.inc" .org 0x0 rjmp main .org 0x14 dec r29 brpl l1 ldi r30,wave_table<<1 ldi r29,3 l1: lpm r28,z+ out ocr0,r28 reti wave_table: .db 24,49,39,34 main: ldi r20,high(ramend) out sph,r20 ldi r20,low(ramend) out spl,r20 sbi ddrb,3 ldi r20,69 out ocr0,r20 begin:ldi r20,0x19 out tccr0,r20 ldi r20,1<