I have an exam coming up on HC12 Motorola assembly code. Any tips to improve my time in read and understanding asm code efficiently and accurately? My problems: I take a long time to read asm code accurately and if I rush my stack is messed up!
Share
ASM code is hard to read. There is no magic thing that makes it easier to decypher.
The only tips I can give you: Add lot of comments to the code. Document what a sequence of instructions does. Don’t focus on the instructions itself unless you have to.
Also assembler reading skills can be practiced fast. If you spend some evenings writing little toy programs you’ll be able to understand other peoples code with ease. You will develop the skill to focus on the important things, so you have less code to read overall.