;-------------------------------------------------------------------------------- ; Hauptprogramm ;-------------------------------------------------------------------------------- Main: mov temp1, FlagReg ; Flankenwechsel? andi temp1, (1< Ende ; ja, hier weiter in xl, TCCR1B andi xl, 0b01000000 ; Maske ICES1-Bit tst xl ; steigende oder fallende Flanke? breq Main2 Main1: ; steigende Flanke ist eingestellt mov E_StartL, yl ; ...Zählerstand in Reg sichern mov E_StartH, yh ldi xl, (0<