Chapter 3: Instructions: Language of the Machine
1: Concepts Introduced in Chapter 3
2: Instructions for a Machine
3: Figure 3.21: A translation hierarchy.
4: Goals When Designing an Instruction Set
5: Memory
6: Registers
7: Instruction Set Design Principles
8: Who Programs
9: Why Learn Assembly Language?
10: MIPS Introduction
11: General Classes of MIPS Assembly Instructions
12: MIPS Instruction Operands
13: General Form of a MIPS Assembly Language Program
14: General Form of a MIPS Instruction
15: General Forms of a MIPS Arithmetic or Logical Instruction
16: General Form of a MIPS Data Transfer Instruction
17: Example of Using Arithmetic/Logical and Data Transfer Instructions
18: Another Example Using Arithmetic/Logical and Data Transfer Instructions
19: Memory Access Issues
20: Memory Access Issues (cont.)
21: General Form of MIPS Transfer of Control Instructions
22: Translating an If-Then-Else Statement into MIPS Assembly Instructions
23: Translating a For Statement into MIPS Assembly Instructions
24: Instruction Formats
25: Figure 3.37: The MIPS instruction set covered so far.
26: Examples of Encoding Instructions
27: Encoding the Branch Displacement
28: lui Instruction
29: Figure 3.17: Illustration of the five MIPS addressing modes.
30: Figure 3.7: The stored-program concept.
31: Figure 3.21: A translation hierarchy.
32: Figure 3.22: The MIPS memory allocation for program and data.
33: Figure 3.12: Illustration of the stack allocation (a) before, (b) during, and (c) after the procedure call.
34: Figure 3.13: MIPS register convention.
35: Fallacies and Pitfalls