.include "m32def.inc" sbi ddrd,5 ldi r22,0x40 out tccr1a,r22 ldi r22,0x09 out tccr1b,r22 ldi r22,high(512) out ocr1ah,r22 ldi r22,low(512) out ocr1al,r22 here: rjmp here