EE 360N - Programming Assignment 2 Clarifications


  1. If you downloaded the shell code before 5:27pm on Tuesday, September 20, please change the definition of the Low16bits macro to the following:
         #define Low16bits(x) ((x) & 0xFFFF)
    
    This change makes sure that the correct order of operations will be followed for the macro.
  2. You do not have to implement the RTI instruction for this lab. You can assume that the input file to your simulator will not contain any RTI instructions.
  3. For this assignment, you can assume that the programmer will always give aligned addresses, and your simulator does not need to worry about unaligned cases.
  4. If you decide to use any of the math functions in math.h, you also have to link the math library by using the command "gcc -lm -ansi -o assemble assembler.c".