I want to learn assembly, but would like to learn by doing, is it possible to learn and make something useful with arduino hardware? I dont know where or how to start something like this.
-
yes it is very possible ... you can write same kind of code as the C++ compiler generates– jsotolaCommented Jun 15, 2022 at 3:18
-
Which Arduino? The assembly language/instruction set is dependent on the microcontroller family. At least some of the C++ compilers used in Arduino toolchains allow you to include inline assembly code.– 6v6gtCommented Jun 15, 2022 at 6:13
-
What do you want to reach in the end? Assembly is hardware-dependent, so if you know learn how to program an Arduino uno using assembly, that will help you only to a very small degree if you later want to program Intel CPUs in assembly.– PMFCommented Jun 16, 2022 at 12:15
Add a comment
|
1 Answer
I suggest the ARV libC project as a starting point to HOW to get assmbler code running. And the AVR Instruction Set Manual to get hold of the actual assembler mnemonics.
Maybe also my own AVR Assembly Project might be a helpful starting point with its code available on GitHub.