Background

Appendix A (3rd edition)

Introduction

    SPIM step-by-step
    SPIM Exercise 0

Basics

    SPIM Exercise 1
    SPIM Exercise 2
    SPIM Exercise 3

More Practice

    SPIM Exercise 4
    SPIM Exercise 5

Reference: How-to

    Input data to programs
    Format assembly code
    Configure SPIM

Valid HTML 4.01!

You will learn about programming in assembly language by working through the exercise sets and using the material in this unit.

Your main reference is Appendix B of your textbook (Appendix A in 3rd edition). Read B.2 to learn about assembler services, B.9 to learn about SPIM, and B.10 for a reference on MIPS assembly.


For Best Results

Take a minute to review the following before starting.

  • Review B.1 in Appendix B to learn about assembly language.
  • Look over the links on the left side to learn about this page.
  • Go through the step-by-step introduction to SPIM.
  • Quickly review the How-to links on this page to learn about their content. You can use them later as needed.
  • Do SPIM Exercises 0-4. Review the objectives before doing an exercise set. Do all the exercises in order before moving to the next set.
  • Do SPIM Exercise 5.1.
  • Do as much from set 5 as you can.

You will be ready to do the programming assignment once you complete these steps. To complete the unit, work through SPIM Exercise 5.

Use the General Discussion forum to ask questions and to share ideas with your classmates.

Here are some useful web sites to further help you: