Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Homework 10 Questions - Computer Organization - Fall 2009 | COSC 2150, Assignments of Computer Architecture and Organization

Material Type: Assignment; Professor: Ward; Class: Computer Organization; Subject: Computer Science; University: University of Wyoming; Term: Spring 2009;

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-j5r
koofers-user-j5r 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Cosc 2150 Homework 10
Due: Wednesday, April 29, 2009 50 points.
You are going to add the rest of the assembly language instructions to your simulator.
For this assignment your simulator will be able decode and run the following instructions the full set of
IAS instruction. This is jump M(X), jump+ M(X), add M(X), add |M(X)|, sub M(X), sub |M(X)|, mul
M(X), div M(X), lsh, and rsh.
Program requirements:
1. The decode and execute should be the only 2 methods/functions that will need to be changed, so
that the simulator can decode and execute the new 10 assembly language instructions.
2. At this point you should now be able to test your simulator with any IAS code you write for
homework 1, 2, and 3.
Turn in:
A printed report, which includes the following
1. title page: Cosc 2150
Homework #10
<your Name>
in large font at the top of the page. At the bottom of the page, include a non-empty statement of help
delivered and help received. It is OK to state that no help was given or received. It is NOT ok to omit
the statement of help.
1. A printed copy of the output from the 2 test runs.
2. Turn in a copy of the code (and the whole project directory if using Visual Studio). To
\\lamont.cs.uwyo.edu\courses\cosc2150\<YOUR LAST NAME>\homework10\

Partial preview of the text

Download Homework 10 Questions - Computer Organization - Fall 2009 | COSC 2150 and more Assignments Computer Architecture and Organization in PDF only on Docsity!

Cosc 2150 Homework 10 Due: Wednesday, April 29, 2009 50 points. You are going to add the rest of the assembly language instructions to your simulator. For this assignment your simulator will be able decode and run the following instructions the full set of IAS instruction. This is jump M(X), jump+ M(X), add M(X), add |M(X)|, sub M(X), sub |M(X)|, mul M(X), div M(X), lsh, and rsh. Program requirements:

  1. The decode and execute should be the only 2 methods/functions that will need to be changed, so that the simulator can decode and execute the new 10 assembly language instructions.
  2. At this point you should now be able to test your simulator with any IAS code you write for homework 1, 2, and 3. Turn in: A printed report, which includes the following
  3. title page: Cosc 2150 Homework # in large font at the top of the page. At the bottom of the page, include a non-empty statement of help delivered and help received. It is OK to state that no help was given or received. It is NOT ok to omit the statement of help.
  4. A printed copy of the output from the 2 test runs.
  5. Turn in a copy of the code (and the whole project directory if using Visual Studio). To \lamont.cs.uwyo.edu\courses\cosc2150<YOUR LAST NAME>\homework10\