Re: [avr-gcc-list] Question about generated asm

2016-08-13 Thread David Brown
On 13/08/16 03:40, Eric Tang wrote: Hi avr-gcc mailing list, I have a question about the asm generated for C code that sequentially checks the bits of an integer in a loop. From what I can gather, during each iteration of the loop, the integer is shifted right until the bit to be checked becomes

Re: [avr-gcc-list] Question about generated asm

2016-08-12 Thread Russell Shaw
On 13/08/16 11:40, Eric Tang wrote: Hi avr-gcc mailing list, I have a question about the asm generated for C code that sequentially checks the bits of an integer in a loop. From what I can gather, during each iteration of the loop, the integer is shifted right until the bit to be checked becomes