5.2 Instruction Set Architecture (P2) Flashcards
What is an addressing mode (and what are 3 examples)
What is a memory address
What is an n-address function (and how are the addresses typically distribuited between input and output)
Solve this problem using an immediate addressing mode
Solve this problem using a direct addressing mode
Solve this problem manually (no variable operands)
Solve this problem using an indirect addressing mode
What is a static immediate and a static address (what do they refer to)
Also note the encoding pressure: instruction size must be > all operand bytes
Given the challenge of instruction pressure what are the following adressing strategies:
- Explicit
- Implicit
- Overloaded
- Derived
- Distributed
xi is the operand (address)
Solve this problem manually (no variable operands)
Solve this problem using an indexed addressing mode
Solve this problem manually (no variable operands)
Solve this problem using an auto-indexed addressing mode
Note how it updates the base address
Solve this problem manually (no variable operands)
Note the need of a scaling factor (more than 1 byte)
Solve this problem using a scaled-indexed addressing mode