; ; tinyblink ; Blinks an LED on pin 4 (PB2) ; .DEVICE ATtiny10 ; variables .EQU delayMult1 = 0xff ; the delay is delay3*delaymult2*delaymult1 .EQU delayMult2 = 0xff .EQU delayMult3 = 0x0f .CSEG ; code section .ORG $0000 ; the starting address main: ; set up the stack ldi r16, high(RAMEND) out SPH, r16 ldi r16, low(RAMEND) out SPL, r16 ; set clock divider ldi r16, 0x00 ; clock divided by 1 ldi r17, 0xD8 ; the key for CCP out CCP, r17 ; Configuration Change Protection, allows protected changes out CLKPSR, r16 ; sets the clock divider ; initialize port ldi r16, 1<