CSE 378 Fall 2010 Homework 1: Getting Started with x86

Due: Monday October 4th, 5:00pm

This assignment is intended to get you started with the x86 assembly language.

What you should do:

  1. If you are using the lab machines, set-up VMWare Player with the provided 64-bit Ubuntu image by following the directions linked on the x86 Resources page.

  2. Download and compile prog1.c and prog2.c with the GNU C Compiler using the following command:
    gcc -S <program_name>

  3. Add comments to the compiler-generated assembly code explaining what groups of instructions are doing. If you do not know what certain instructions do, it's okay. You're just beginning with the language! When this happens add a comment along the lines of "I don't know what these do".

  4. Turn-in your commented assembly code files to the course's Catalyst CollectIt dropbox linked under the "Communication" section of the lefthand navigation bar.