Table of Contents
MIPS ISA, Assembly Language
Today’s Lecture
Review: A Program
Review: Stored Program Computer
Review: What Must be Specified?
Review: MIPS ISA Categories
Review: MIPS Instruction Formats
Assembler and Assembly Language
Assembly Language
Assembly Language (cont.)
Assembly Language (cont.)
The C code
Assembly Language Example 1
Review: Procedure Call and Return
Procedure Call GAP
Supporting Procedures
Procedure Call (Stack) Frame
Call-Return Linkage: Stack Frames
MIPS Register Naming Conventions
MIPS/GCC Procedure Calling Conventions
MIPS/GCC Procedure Calling Conventions (cont.)
MIPS/GCC Procedure Calling Conventions (cont.)
MIPS / GCC Calling Conventions
System Call Instruction
SPIM System Call Support
Example2
Example2 (cont.)
Example2 (cont.)
Details of the MIPS instruction set
Miscellaneous MIPS Instructions
Summary
|
Author: Alvin R. Lebeck
Email: alvy@cs.duke.edu
Home Page: http://www.cs.duke.edu/~alvy
|