Table of Contents
Procedure Calls, SPIM, Other ISAs
Administrivia
Review: The C code
Review: Assembly Language Example 1
Review: MIPS Register Naming Conventions
Review: System Call Instruction
SPIM System Call Support
Procedure Call GAP
Procedure Call (Stack) Frame
Call-Return Linkage: Stack Frames
MIPS/GCC Procedure Calling Conventions
MIPS/GCC Procedure Calling Conventions (cont.)
MIPS/GCC Procedure Calling Conventions (cont.)
MIPS / GCC Calling Conventions
Example: Factorial
Example2
Example2 (cont.)
Example2 (cont.)
Miscellaneous MIPS Instructions
SPIM Demo
PowerPC ISA
Intel 80x86 ISA
80x86 Registers and Addressing Modes
80x86 Addressing Modes
Condition Codes
80x86 Instruction Encoding
Summary
|
Author: GK
Email: alvy@cs.duke.edu
Home Page: http://www.cs.duke.edu/~alvy
|