Homework Assignment 3 -- CS429 Fall 2013

Due Date: 18 Sept 2013

  1. Show the 6-bit binary representation of +14 and -14 using

    1. Sign and Magnitude

    2. Ones' Complement

    3. Two's Complement

  2. Consider A=0x3f000000 and B=0x3e800000.

    1. Add these two numbers, in hex, to produce C.

    2. Interpret A, B, and C as 32-bit two's complement integers.

    3. Interpret A, B, and C as 32-bit IEEE floating point numbers.

    4. Does A+B=C?

  3. For the following digital logic circuit:

    Express the value of Z as a C logical expression of X and Y.