Lab 3

Lab 3 is attached. Don't panic. You have three weeks to finish this, but it's best to get started as soon as possible.

lab3.pdf

lab3.tar.gz (v 1.3)

2009/09/09 10:05 · Jeffrey Knockel

Lab 2 Hints

I've attached lab2.c, the starter C code for Lab 2, except with more hints in the comments. Check it out. I changed one line in it in pi_float() from:

unsigned int denom = ...;

to:

float denom = ...;

For purposes of our lab, it won't affect our accuracy, and people were forgetting to cast to float before dividing.

As requested, I've also attached lab2.out, the expected output for Lab2. Note that it is quite large, but the lines of interest are 1, 2052, 13261. Note that if your pi approximation is slightly different, then that is OK.

lab2.c

lab2.out

2009/09/03 16:49 · Jeffrey Knockel

Interactive float.c program

I've attached the C code for the interactive float.c program.

float.c

2009/09/03 16:42 · Jeffrey Knockel

Lab 2

Lab 2 is attached. We will be focusing on floating point this week. If you have trouble reading the pdf, send me an email saying what pdf software you are using so that we can debug this further.

lab2.pdf (v 1.1)

2009/08/31 14:21 · Jeffrey Knockel

Lab 1

Lab 1 is attached. This is a “Hello World” in MIPS assignment. You are expected to copy the given code and then write some of your own, original comments. Most of my comments are for things that you aren't expected to understand yet, such as the assembler directives, whereas I expect you to focus your comments more on the actual MIPS instructions. More information is included in the *.pdf, and we will talk more about MIPS in upcoming lectures.

lab1.pdf

2009/08/25 15:05 · Jeffrey Knockel

<< Newer entries | Older entries >>

Back to top
start.txt · Last modified: 2009/10/10 17:46 by jeffk