User Tools

Site Tools


assembly_language

This is an old revision of the document!


Assembly Language

This lecture covers Program Execution (a closer look at DRAM, the CPU, and the fetch-execute cycle) and introduces assembly language. The SPIM simulator is used to demonstrate writing and running programs for the MIPS family of processors.

Outline

  • Review of the Fetch Execute cycle
  • A model for DRAM
  • Representing program and data in DRAM
  • A model for the CPU
  • Assembly Language Programming
  • MIPS programming

Big Ideas

  • Memory Blocks
  • All types are represented as numbers
  • CPU = Registers + Datapaths + Control + BIU
  • Programming in assembly language

Slides from Lecture

To Do

  • Complete the Drep homework this week.
  • Read Chapter 2 of our textbook up to, and including, Section 2.8 but skip Section 2.4. (If you have the old edition of the text, read Ch 3 up to and including, Sec 3.7 but skip Sec 3.4.)
  • Download SPIM to your home machine and/or use the one in Prism.
  • Complete the programs developed in class (found in the Resource Directory in What's New).
  • Start reading and performing the tasks of Lab-A. Optional
assembly_language.1189717360.txt.gz · Last modified: 2007/09/13 21:02 by roumani