Chapter 5 Revision: Assembly Language
Assembly language provides direct symbolic control over the underlying microprocessor hardware, bridging compiled software logic with physical silicon execution.
Use these flashcards for active recall. Try to answer the question out loud before clicking the card to flip it.
Flashcards 🎴
What are the roles of Pass 1 and Pass 2 in a Two-Pass Assembler?
• Pass 2: Emits the binary machine code by translating mnemonics, encoding register fields, and resolving forward label references from the Symbol Table.
What is the difference between an Instruction and an Assembler Directive?
What is Linear Sweep vs Recursive Descent Disassembly?
• Recursive Descent: Follows the control-flow graph (branches and jumps) to decode only reachable instruction paths, better isolating code from data.
Final Chapter Quiz 🧠
In assembly subroutines, what is the role of 'Caller-Saved' (Volatile) vs 'Callee-Saved' (Non-Volatile) registers under an Application Binary Interface (ABI) calling convention?
Ready to move on? You are now ready to tackle Pipelining in Chapter 6!