int addr; char cal; addr = 0x3FE; //lowbyte von word 511 asm("mov r30,loreg(%addr)\n" "mov r31,hireg(%addr)\n" "lpm\n" "mov %cal,r0"); OSCCAL=cal;