Почему error выдаёт?
Цитата
../../clksys_driver.c:121:4: error: impossible constraint in 'asm'
Код
asm volatile(
"movw r30, %0" "\n\t"
"ldi r16, %2" "\n\t"
"out %3, r16" "\n\t"
"st Z, %1" "\n\t"
:
: "r" (tmpAddr), "r" (value), "M" (CCP_IOREG_gc), "i" (&CCP)
: "r16", "r30", "r31"
);