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
Click For Summary
SUMMARY

This discussion focuses on resources for programming the Atmega8 chip using Assembly language. Participants highlight the inadequacy of the current textbook and seek alternative learning materials. A recommended online tutorial is found at avr-asm-tutorial.net, which provides comprehensive guidance on AVR assembly programming. Additionally, it is noted that while many programmers prefer using C for efficiency, the requirement here is to utilize Assembly language specifically.

PREREQUISITES
  • Understanding of microcontroller architecture, specifically Atmega8.
  • Familiarity with Assembly language programming concepts.
  • Basic knowledge of C programming for comparative analysis.
  • Experience with online educational resources and tutorials.
NEXT STEPS
  • Explore the tutorial at avr-asm-tutorial.net for detailed AVR assembly programming techniques.
  • Research the differences between programming in Assembly and C for Atmega8.
  • Investigate additional textbooks or online courses focused on Assembly language for microcontrollers.
  • Learn about debugging techniques specific to Assembly language on Atmega8.
USEFUL FOR

Electronics students, embedded systems developers, and anyone tasked with programming Atmega8 chips in Assembly language will find this discussion beneficial.

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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K