"Andi" <[EMAIL PROTECTED]> wrote: > I have no problem before when I compile with WinAVR2004 and > WinAVR2005, this only happen with WinAVR2007 where the compiler can > generate sbi and cbi command for PORTC (no problem for the other > ports)
The compiler *is* generating the IO instructions for port C correctly. Of course, you should never say never, but there's a much higher probability that you win next week's lotto jackpot than there would be that the compiler failed to generate that simple kind of IO instruction code, and you were the first to detect it. > I'm still checking where is the problem now. Elsewhere. Don't be fooled by viewing the disassembly listing with the interspersed C code. Look at a plain disassembly or the generated assembly code instead. In my opinion, these diassembly + source code list files are much more obfuscating the view rather than clarifying anything (even more, the more clever the compiler's optimizations are getting). Since you upgraded from a really old version of the compiler, my first guess would be that you've been trapped by trying to invent your own delay loops, which are now completely eliminated by the compiler. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
