assignment2 - CSCI 2021 Machine Architecture and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 2021 Machine Architecture and Organization Written Assignment 2 Due on March 11th, in class Name: ___________________________ Student ID: ___________________________ This is an individual assignment. You cannot work on this with others. Turn in a hard copy of your work. There are 5 problems. We will grade all of them. The problems cover Chapters 2 and 3. The textbook in this context is R. Bryant, D. O'Hallaron. Computer Systems: A Programmer's Perspective. Prentice Hall, 2003 Problem 1 (12 Points) Textbook problem 2.56 on pg. 105 Problem 2 (18 Points) Consider a 16-bit floating-point representation based on the IEEE floating-point format, with one sign bit, seven exponent bits (k = 7), and eight fraction bits (n = 8). The exponent bias is 2 7-1 – 1 = 63. Give the hexadecimal encoding of the following numbers: a) -0 b) Smallest value > 1 c) 256 d) Largest denormalized e) -∞ What is the base 10 value of the floating-point number: f) 0x3AA0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

assignment2 - CSCI 2021 Machine Architecture and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online