3 ms·
It's a nice ISA but has some painful aspects. 8-bit registers aren't big enough for many purposes. Shift instructions are one bit position at a time. Explici
by regehr 15y ago
It's a nice ISA but has some painful aspects. 8-bit registers aren't big enough for many purposes. Shift instructions are one bit position at a time. Explicit stack pointer manipulation isn't atomic.
The best thing about AVR is avr-gcc.
- wollw 15y agoavr-gcc and avr-libc are really great but I'm working with the ATTiny4 right now and I can't seem to get a working gcc toolchain for it (not to mention it only has 512 bytes of flash and 32 bytes of SRAM). I did spend a decent amount of time trying to getting avr-gcc and avr-libc working with these MCUs but I've ended up just falling back to ASM.