E4 - ## LSU EE 4720 -- Spring 2011 -- Computer Architecture...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ## LSU EE 4720 -- Spring 2011 -- Computer Architecture # ## MIPS Overview # Time-stamp: <19 January 2011, 9:21:04 CST, koppel@ellipse> ## Note # # This set based on EE 3755 Spring 2002 sets 9, 10, and 12. ## Contents # # MIPS Background # Machine Language Basics # Machine Languages Covered in ECE Courses # Instructions, Registers, Immediates, and Memory # Basic Three-Register Instructions # Other Basic Instructions # Instruction Coding # Miscellaneous Integer Arithmetic Instructions # Pseudo Instructions # # Types of Control-Transfer Instructions # A Simple Jump Instruction # A Branch Instruction # More Branch Instructions # More Jump Instructions # Procedure Call Example # Typical CTI Uses # # Load Byte (Unsigned) # Store Byte # Load Byte # Load Word, Store Word # Load and Store Half # Array Access Examples # Histogram Program ## References # # :PH: Patterson & Hennessy, "Computer Organization & Design" # :Mv1: MIPS Technologies, "MIPS32 Architecture for Programmers Vol I: Intro" # :Mv2: MIPS Technologies, "MIPS32 Architecture for Programmers Vol II: Instr" ## Objectives # # Understand MIPS Register and Memory Organization # Understand MIPS Instructions # Read programs using instructions, write program using instructions. # Understand MIPS Instruction Coding and Formats # Determine binary coding from assembly, and vice versa. # Ability to Learn New Instructions from MIPS Documentation # Write Simple Assembly Language Programs ################################################################################ ## MIPS Background ## MIPS Features # # Example of a RISC ISA, to be defined later. # # ISA is relatively elegant, as are some implementations. # # Once popular for engineering workstations ... # ... now popular for embedded applications such as portable devices. ################################################################################ ## Machine Language Review # :PH: 3 # : Def : Machine Language # # The language understood by the computer processor itself. # An ISA describes the machine language, plus other details. # # : Def : Machine Code # # All or part of a machine language program. # : Def : High-Level Language # # A computer programming language for humans. # # Examples: C, Basic, Java, Fortran. # # A program in a high-level language may be converted into machine # language and then run. # # A high-level language can be converted into the machine language of # (compiled for) many machines. # : Def : Assembly Language # # A language for humans used to prepare machine code. # # Assembly language is human readable, machine language is not. # (At least without great effort or rare talent.) v # # For each machine language there is usually one assembly language....
View Full Document

Page1 / 34

E4 - ## LSU EE 4720 -- Spring 2011 -- Computer Architecture...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online