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

2005-09-19 Thread Björn Haase
varsha wrote on Dienstag, 20. September 2005 06:57 : > __asm__ __volatile__ >( > "lsl crc0" "\n\t"//this doesn't work > "rol crc1" "\n\t"//it gives error as > constant value required "rol crc2" "\n\t" > "rol crc3" >); Y

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

2005-09-19 Thread Joerg Wunsch
As varsha wrote: Foreword: This "revised" in your subject doesn't make sense, as long as you don't note *what* you changed. You don't expect us to put your two mails side by side, do you? Better followup to yourself, using standard email quoting style, and just add the remark you think you need

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

2005-09-19 Thread varsha
hello everyone, As mentioned in the pdf avr-libc-user-manual -1.2.3, in the section 7.4.7C "names used in Assembler code", that with WINAVR GCC we can specify use of specific register by using syntax... register unsigned char counter asm("r3"); so that assembler will use register r3 when w