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.
- 16G * 32
- 8M / 32
- log2(2G)
Problem 2
- An 8 GB memory has a 16-bit word size. How many words are contained in this memory?
- A memory has 4 M words. Each word contains 32 bits. How many bytes are contained in this memory?
- How many bits are required to address the 4 M words of this memory?
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.
- 26
- 0.3
- 0.11111111111111111111111111111
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.
- 1111000011110000
- 0000111100001111
- 0000100000000000
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?