Programming AVR in Assembly or Machine Language
The question I'm going to ask you is a very simple one- How can I program (AVR in general) my Atmega 328P in Machine or Assembly Language? I know it is possible as all microcontrollers, no matter which language they are running convert high level language to low level languages and utimately Machine language. That's the job of the compiler. I want to run assembly or machine language because-
- It is relatively new for me. I have done programming in C and hope it repeat my success in Arduino language as well but I also want to learn assembly or machine in my quest to get a deeper understanding of computer systems and what better medium to learn it for than my favorite microprocessor.
- I have heard that it is tad faster. However, that applies to computers but maybe I may find something to make my code faster in this domain. For example- say the person who coded a for loop for AVR would have done his coding in machine or assembly. If I am able to get that coding and I know either machine or assembly, I may be able to find bugs in his code and make it faster. This is what hacking was in its original form and this is what I want to do.
- The outcomes of this job are relatively infinte and out of my scope to mention them here.
That's why I request the LMR community to help me and bombard me with information please!! :)