Fall 2016 CSCI 255 Homework 5

This assignment is due in class on 29 September or may be uploaded in PDF format to Homework 5 on moodle by 5:10 PM on 29 September.

Problem 1

Perform the following operations and express the result as it should be for a course in Computer Organization.

Problem 2

Problem 3

Express the following base 10 numbers in 16-bit fixed-point twos-complement representation with 8 integer bits and 8 fraction bits. Some of the numbers can not be expressed exactly, so give the nearest fixed-point representaion.

Problem 4

Express the following 16-bit fixed-point twos-complement numbers with 8 integer bits and 8 fraction bits as base 10 decimal numbers.

Problem 5

What is the 32-bit IEEE 754 representation for 26.5?

Problem 6

If 0x41540000 is the 32-bit IEEE 754 representation of a floating point number, what is the floating point number?