.INCLUDE "M32DEF.INC" LDI R16,HIGH(RAMEND) OUT SPH,R16 LDI R16,LOW(RAMEND) OUT SPL,R16 SBI DDRB,5 BEGIN:SBI PORTB,5 RCALL DELAY_1ms CBI PORTB,5 RCALL DELAY_1ms RJMP BEGIN DELAY_1ms: LDI R20,HIGH(9999) OUT ICR1H,R20 LDI R20,LOW(9999) OUT ICR1L,R20 LDI R20,0 OUT TCNT1H,R20 OUT TCNT1L,R20 LDI R20,0x02 OUT TCCR1A,R20 LDI R20,0x19 OUT TCCR1B,R20 AGAIN: IN R20,TIFR SBRS R20,ICF1 RJMP AGAIN LDI R20,1<