Fall 2015 CSCI 255 Homework 7

This assignment is due in class on 14 October or may be uploaded in PDF format to Homework 7 on moodle by 12:30 PM on 14 October.

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 3.5?

Problem 6

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