Homework_1 - Computer Science and Engineering 331 Computer...

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

View Full Document Right Arrow Icon
Computer Science and Engineering 331 Computer Organization and Design Spring 2008 Homework #1. Introduction to the spim Assembler/Simulator Points: 5 (Individual ( not pair) assignment) Due: Wednesday, Jan. 30, 2008 by 5:00pm 1. You have two choices for simulating mips code. You can either use xspim from your unix user account (without altering the .cshrc.cat file). To run xspim all you need to so is type % xspim& at the unix control prompt (%). (The trailing & simply runs xspim in the background.) Note that you should be in your directory where your assembly code is stored when you enter xspim . To do this, first create a directory where you will store all your CSE 331 mips assembler programs using the command % mkdir [your assembly code directory name] Then move to that directory using the command % cd [your assembly code directory name] or you can download PCSpim onto your own PC (running a version of mswindows) from http://www.cs.wisc.edu/~larus/SPIM/pcspim.zip , unzip it and double click Setup.Exe to
Background image of page 1

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

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

This note was uploaded on 09/30/2008 for the course CMPEN 331 taught by Professor Bhat during the Spring '08 term at Penn State.

Page1 / 2

Homework_1 - Computer Science and Engineering 331 Computer...

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

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