count-->s[16] state-->r[18] flashes-->r[19] this-->r[20] DDRD-->i[0x11] PORTD-->i[0x12] PORTB-->i[0x18] DDRB-->i[0x17] [-->start, -->interrupt, -->interrupt, -->interrupt] ; This example program flashes an LED on pin PD0. The timing values are suitable ; for running on the 1MHz RC oscillator. chapter start state = 1 DDRD = 1 PORTD = 1 state = 0 loop) flashes = 1 (1) 5 ; flash once, twice, thrice, four times this = 0 (1) 2flashes ; loop for twice the number of flashes. down wait state = 1 - state PORTD = state repeat this = 0 (1) 5 ; pause between sequences down wait repeat repeat -->loop ; do it again close chapter wait,1 count = 0(1)10000 repeat up close service interrupt,2 close