Assembler 101 - do you know a good textbook or online tutorial?

  • Thread starter Thread starter Nissen, Søren Rune
  • Start date Start date
  • Tags Tags
    Textbook Tutorial
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Nissen, Søren Rune
I need to program an Atmega8 chip to handle various tasks, and while the teacher on the subject is pretty good, the text we use is hilariously bad. Is there a good textbook on the subject which is widely available, or do you know a good online tutorial?
 
Physics news on Phys.org
Nissen said:
I need to program an Atmega8 chip to handle various tasks, and while the teacher on the subject is pretty good, the text we use is hilariously bad. Is there a good textbook on the subject which is widely available, or do you know a good online tutorial?

The first result form a Google search on ATMEGA assembly:
http://www.avr-asm-tutorial.net/avr_en/

While most assembler courses are really introduction to microcontroller / microprocessor operation (at a very low, instruction by instruction and clock-by-clock level) and what happens "behind the curtain" when you code in high-level languages, most people program ATMELs in C:
http://www.avrfreaks.net/index.php?module=FreaksTools&func=viewItem&item_id=145

(Above applies only if you're doing this in an EE or CE program)
 
I know you can code in C - both faster and, with modern compilers, probably more efficiently, but we are specifically required to program this chip in Assembly, so that's what'll happen.

Anyway, thank you for the link man.