9/29: Lecture Topics

9/28/99


Click here to start


Table of Contents

9/29: Lecture Topics

Administrative notes

Memory and Addressing

MIPS Information Units

Word Alignment

How Big Can Memory Be?

Some Perspective

Loads and Stores

Alternatives to Load-Store (p. 191)

Load Syntax

A Related Concept: move

“Complex” Example Revisited

“Complex” Example with L/S

Arrays in Assembly Programs

Variable Array Indexing

Array Example

Operation Types

Conditional Branch

Control flow in C

Branching Instructions

Pseudoinstructions

Labels in MIPS

Building a while loop in MIPS

How about a for loop?

Example C Program

An Assembly Version

Author: Gretta E. Bartels

Email: gretta@cs.washington.edu

Home Page: http://www.cs.washington.edu/410/