[avr-libc-dev] revised:problem with inline assembly

2005-09-19 Thread varsha
work "rol crc1" "\n\t"//it gives error as constant value required "rol crc2" "\n\t" "rol crc3" ); __asm__ __volatile__ ( "lsl crc0" "\n\t"

[avr-libc-dev] problem with inline assembly

2005-09-19 Thread varsha
egister unsigned char crc1 asm("r12"); register unsigned char crc2 asm("r13"); register unsigned char crc3 asm("r14"); and whenever i 'll modify these variables only these registers'll be used... or any other option is there to do the same?? please reply soon