Delay100ms: ; @8MHz push r16 ldi r16,4 Delay100msLoop: rcall Delay25ms dec r16 brne Delay100msLoop pop r16 ret Delay25ms: ; @8Mhz push r16 push r17 clr r16 clr r17 Delay25msLoop: inc r17 brne Delay25msLoop inc r16 brne Delay25msLoop pop r17 pop r16 ret Delay1ms: ; @8Mhz push r16 push r17 ldi r16,245 ; so ungefähr 1ms ldi r17,150 inc r17 brne Delay25msLoop Delay100us: ; @8Mhz push r16 push r17 ldi r16,255 ; so ungefähr 100usec clr r17 inc r17 brne Delay25msLoop