Цитата(MSprut @ Jul 29 2008, 11:11)

У функции __delay_cycles ограничение на аргумент 32768
Весьма спорное утверждение. Читаем в описании на компилятор:
__delay_cycles(unsigned long int);
Makes the compiler generate code that takes the given amount of cycles to perform, that
is it inserts a time delay that lasts the specified number of cycles.
Note: The specified value must be a constant integer expression and not an expression
that is evaluated at runtime.
ИМХО весь топик придуман на ровном месте.