# MCS-284 Chapter 3 Homework

When turning in a homework problem, mark it with the exercise number shown in bold here. These will be the reference numbers I use in reporting back your standing on the homework.

• 3.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, and in each also indicate whether overflow occurred, and if so, how far off the answer is.

1. 011010 + 000011 =

2. 010111 + 110001 =

3. 011010 - 101101 =

4. 101001 - 000011 =

• 3.37 on page 232.

• 3.38 on page 232.

• 3.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