AVR ASM Introduction
sites.google.com
sites.google.com
[0] http://www.avrfreaks.net/index.php?name=PNphpBB2&file=vi...
[1] http://www.reddit.com/r/programming/comments/aqkt2/dirty_mat...
[2] http://www.avr-asm-tutorial.net/avr_en/beginner/index.html
[3] http://www.avrbeginners.net/
[4] http://www.avrfreaks.net/index.php?name=PNphpBB2&file=in...
The instruction set is organized quite nicely and most non-memory instructions (even the multiply instructions) take one cycle. Ah, the joys of RISC.
The best thing about AVR is avr-gcc.
AVR is the cheapest kit that fully support the GCC toolchain. It comes with its own stripped-down glibc, and installs a GCC cross-compiler and is amazing for that reason alone.
Lots of people are saying that you can just use avr-gcc. Which is technically true, but it still requires knowledge and bitwise manipulation of AVR registers.
For example, you can't really use timers without understanding the time-related registers and interrupts, so the C code for managing that looks almost identical to the assembly. Nice to have a guide that goes through those register operations line-by-line so I can understand what is happening.
Awesome!
It has been a long time since I did any sort of dabbling/reading in the area but is that even true? Afaik very few languages that compile to executable machine code 'convert their programs to assembly'. They go directly from their internal AST/DFG/CFG representation to machine code, an intermediary stop at the ASM level would be unnecessary no?