
ISR:
    switch:=not(switch)
    reti

MAIN IF switch then DO
      PWM1
      ELSE
      PWM2
     JMP main
