MCS-284 Chapter 4 Homework (Fall 2002)

When turning in a homework problem, if it is one from the book, you should indicate the exercise number. If it is not from the book, you should indicate the number I give with an x in it, as in 4.x1 and 4.x2 below. These will be the reference numbers I use in reporting back your standing on the homework.
• Problem 4.x1: All numerals in this problem are given in six bit wide two's complement signed notation, and your answers should be too. Answer each of the following arithmetic problems:
1. 010010 + 000011 =
2. 010111 + 110001 =
3. 011010 - 101100 =
4. 111001 - 000011 =

• Do exercise 4.22 on page 326.

• Problem 4.x2: Write the 32 bits for the floating point number that results from dividing by four the floating point number
```1000 1010 1010 1010 0000 0000 0000 0000
```
(Note that this is divided into chunks of four bits just to help you count positions more accurately. The chunks do not correspond to the logically significant portions of the representation.) Be sure to explain how you arrived at your answer.

Instructor: Max Hailperin