Table of Contents
The MIPS Instruction Set Architecture
Today’s Lecture
Review: Instruction Set Architecture
Review: Design Space of ISA
Review: Basic ISA Classes
Review: Making Instructions Machine Readable
A Program
Stored Program Computer
What Must be Specified?
MIPS ISA Categories
MIPS Instruction set Architecture
MIPS Integer Registers
MIPS Instruction Formats
R Type: <OP> rd, rs, rt
I-Type <op> rt, rs, immediate
I-Type <op> rt, rs, immediate
Successor Instruction
The Program Counter
The Program Counter
I-Type <op> rt, rs, immediate
The Program Counter
Successor Instruction
The Program Counter
J-Type: <op> target
R Type: <OP> rd, rs, rt
Instructions for Procedure Call and Return
MIPS Arithmetic Instructions
MIPS Logical Instructions
MIPS Data Transfer Instructions
MIPS Compare and Branch
MIPS jump, branch, compare instructions
Signed v.s Unsigned Comparison
Summary
|
Author: Alvin R. Lebeck
Email: alvy@cs.duke.edu
Home Page: http://www.cs.duke.edu/~alvy
|