Notice: Constant FORCE_SSL_ADMIN already defined in /nfs/unixspace/linux/accounts/COURSES/cs206/public_html/sp17/wp-config.php on line 94
Alan Marchiori | CSCI 206 Computer Organization & Programming
Blog Archives

Lab 14

Cache Performance A Level-One (L1) cache is part of the actual processor chip, that is, it is integrated onto the same die as ALUs, control units, and other major components. The collection of performance statistics for the cache (number of hits, number

Posted in Lab Tagged with: , ,

Lab 14 – Prelab

Goals In this prelab you will setup the Intel Pin tool to run on your system and use it to collect memory access traces from several programs. Set Up Open a shell, go into your local git repo, and do a “git

Posted in Lab Tagged with: ,

Lab 12

Bomb Lab The nefarious Dr. Evil has planted a slew of “binary bombs” on our class machines. A binary bomb is a program that consists of a sequence of phases. Each phase expects you to type a particular string on stdin. If

Posted in Lab Tagged with: ,

Lab 11

Buffer overflow and stack smashing Set Up Copy to your ~/csci206/Labs/Lab11 directory all the files in ~cs206/Labs/Lab11.  Create a file called answers.txt, in which you will write answers to the questions in this lab. The header of this file should have

Posted in Lab Tagged with: ,

Lab 7

Introduction to the MIPS VM, arrays, and structures in assembly and C Objectives Learn how to access the mips machine, write, compile, and execute MIPS programs Learn how to write programs using both C and assembly code and work with complex data

Posted in Lab Tagged with: , , ,

Lab 7 – Prelab

Introduction to the MIPS system Objectives Learn how to access the mips machine, write, compile, and execute MIPS programs Practice MIPS coding and debugging Exercise 0: zyBook 9.3, 9.4, 9.5, 9.6 Read and complete all activities in the given sections. Exercise 1:

Posted in Lab Tagged with:

Lab 6

Procedures in MIPS Goals Practice implementing procedures in assembly programs Practice using the stack to store data in assembly Practice writing programs in MIPS assembly Practice using git for revision control The MIPS ISA provides four registers for passing parameters into a procedure and two additional

Posted in Lab

Lab 4

Intermediate C Programming In this lab you will practice writing and debugging complete C programs with arrays, strings, functions, and file IO. You will learn how to compile C programs with multiple files using a Makefile. Goals After completing this

Posted in Lab

Lab 3

Introduction to MARS and MIPS assembly Goals Learn to use the MARS IDE (Mips Assembly and Runtime Simulator)  Gain experience with MIPS assembly Practice using Git for revision control Setup The Mips Assembly and Runtime Simulator (MARS) is a tool for students to

Posted in Lab

Lab 3 – prelab

Introduction to MIPS programming Update your local gitlab respository to reflect the likely feedback you have from your Lab01. You will likely have to do a git pull to receive this feedback on your previous labs before you can push further

Posted in Lab