u menja vse OK compiliruetsya :
Код
__eeprom unsigned char ee_char_buf[CHAR_BSIZE];
unsigned char __eeprom *ee_ch_ptr; // rigth
int main( void )
{
volatile char temp;
ee_ch_ptr = ee_char_buf;
while (1)
{
asm("nop\n"
"label: \n"
"nop\n"
"rjmp label");
if(temp != 0)
*FIRST_PARAM=0x10;
if (temp == 0)
temp = *FIRST_PARAM;
}
}
" IAR C/C++ Compiler for AVR 4.12A/W32 [Evaluation] (4.12.1.3)"