You are on page 1of 2

EGR 396 HW#1

1. The 8 bit value $82 represents what unsigned integer? ...represents what two's
complement signed integer?

2. The 8 bit value $78 represents what unsigned integer? ...represents what two's
complement signed integer?

3. The 8 bit value $FE represents what unsigned integer? ...represents what two's
complement signed integer?

4. Convert the decimal values 31 and 22 to 8 bit binary, add them together, and convert the
sum back to decimal. Show your work for each step of the problem.

5. Convert the decimal values 31 and -22 to 8 bit two's complement binary, add them
together, and convert the sum back to decimal. Show your work for each step of the
problem.

6. Convert the decimal values -31 and 22 to 8 bit two's complement binary, add them
together, and convert the sum back to decimal. Show your work for each step of the
problem.

7. Multiply the 4-bit two's complement values 1100 and 0011 together to form an 8 bit
product. Show your work.

8. Multiply the 8-bit two's complement values 11001001 and 10111100 together to form a
16 bit product. Show your work.

9. What range of unsigned decimal values can be represented in a byte and in a 16-bit word?

10. What range of two's complement decimal values can be represented in a byte and in a 16bit word?

11. What is the binary representation of the decimal value 2130? What is the BCD
representation?