Intel-compatible processors also support an “extended-precision” floating-point format with an 80-bit word divided into a sign bit, k = 15 exponent bits, a single integer bit, and n = 63 fraction bits. The integer bit is an explicit copy of the implied bit in the IEEE floating-point representation. That is, it equals 1 for normalized values and 0 for denormalized values. Fill in the following table giving the approximate values of some “interesting” numbers in this format:
Extended precision | ||
Description | Value | Decimal |
Smallest positive denormalized | _________ | _________ |
Smallest positive normalized | _________ | _________ |
Smallest positive normalized | _________ | _________ |
This format can be used in C programs compiled for Intel-compatible machines by declaring the data to be of type long double. However, it forces the compiler to generate code based on the legacy 8087 floating-point instructions. The resulting program will most likely run much slower than would be the case for data type float or double.
Trending nowThis is a popular solution!
Learn your wayIncludes step-by-step video
Chapter 2 Solutions
Computer Systems: A Programmer's Perspective (3rd Edition)
Additional Engineering Textbook Solutions
Starting Out with C++: Early Objects (9th Edition)
Concepts Of Programming Languages
Experiencing MIS
Concepts of Programming Languages (11th Edition)
Digital Fundamentals (11th Edition)
Database Concepts (7th Edition)
- Write down the mathematical notation for fixed point representationand floating representation and also explain each term. Consider the following machine number in 64 bit and Precisely represent the above machine number in decimal digits. 0 10000000011 1011100100010000000000000000000000000000000000000000arrow_forwardConsider an 8-bit floating point format. In this representation 4 bits are reserved for the mantissa and 3 bits are reserved for the exponent and 1 bit is reserved for the sign of the number. The exponent of the number is stored with a bias = 3. Express the decimal number 4.75 in this 8 bit floating point format. Write down the next bigger representable number in decimal base. B If you would be conducting the following operation using this 8 bit floating point format what would the result of the following calculation be ? 4.75 + 0.05 - 4.75 Express the decimal number 4.75 in this 8 bit floating point format. [10] b) Write down the next bigger representable number in decimal base. [7.5] c) If you would be conducting the following operation using this 8 bit floating point format what would the result of the following calculation be ? 4.75 + 0.05 - 4.75arrow_forward6. Assume we are using a simple model for floating-point representation similar to the one used in Chapter 2 of the textbook which has a 14-bit format, 5 bits for the exponent with a bias of 15 (not 16 as in the textbook), a normalized mantissa of 8 bits, and a single sign bit. Show how the computer would represent the numbers 12.125 using this representation.arrow_forward
- Consider a 5-bit two's complement representation. Fill in the empty boxes in the following table. TMax denotes the largest positive integer, and TMin is the least negative integer supported by this representation. Addition and subtraction should be performed based on the rules for 5-bit, two's complement arithmetic. Number Decimal Representation Binary Representation Zero n/a -2 n/a n/a -14 n/a 0 1100 n/a 1 0100 TMin TMin+TMin TMin +1 TMax+1 -TMax -TMinarrow_forwardAssume we are using the simple model for floating-point representation discussed in the class (the representation uses a 14-bit format, 5 bits for the exponent with an Excess-M, a significand of 8 bits, and a single sign bit for the number): Convert -43.0735 to the floating-point binary representation. (Remember we learned "implied one" format in the lecture)arrow_forwardConsider a 16-bit binary floating point number representation system: + SE E EEEE m m m m The first bit of the exponent is dedicated to its sign. Assume that the mantissa must start with a '1'. Use this system to answer the following questions: 1. What is the smallest (magnitude) number that can be represented with this system? 2. Calculate the relative round-off error introduced when this system tries to represent e = 2.718281828459045235360287 .. using rounding.arrow_forward
- If an unsigned 8-bit integer were to be extended to a 16-bit one, the first 8 most significant bits (MSB) would be filled with ones, creating a signed 16-bit representation. Pick a solution from these two options: Is it true or false that...?arrow_forwardConsider a 16-bit binary floating point number representation system: + | SE E E E E E m m т m m m m m m The first bit of the exponent is dedicated to its sign. Assume that the mantissa must start with a '1'. Use this system to answer the following question What is the smallest (magnitude) number that can be represented with this system?arrow_forwardWrite programs in MSP430 language for the following questions: a(15 points) Load least significant 6 digits of your student number as ASCII characters (8-bit ASCII) into R4-R5-R6 register set. b(15 points) Add constant 10 to each character of the R4-R5-R6 register set to make a simple encryption and store results into R7-R8-R9. c(15 points) Decrypt R7-R8-R9 by subtracting by 10 and load the results into R10-R11-R12. d-(15 points) Compare the contents of the set of R4-R5-R6 and the set of R10-R11-R12. Load 1 into R13 to show both sets are the same or clear R13. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac).arrow_forward
- Consider a 32-bit hexadecimal number stored in memory as follows: Address Value 100 2A 101 C2 102 08 103 1B If the machine is little endian and the number is an IEEE single-precision floating-point value, determine the decimal equivalent of the number stored at address 100 (you may leave your answer in scientific notation form, as a number times a power of two).arrow_forward3. Implement a 32-bit subtraction of two numbers X and Y that are stored in memory as: X = (DS: 503H) MS byte of MS word (DS: 0502H) (DS: 0501H) (DS: 0500H) LS byte of MS byte of LS byte of MS word LS word LS word Y = (DS:0507H) (DS: 0506H) (DS: 0505H) (DS: 0504H) The result of X - Y is to be saved in the place where X is stored in memory.arrow_forwardGive the quantity represented by the following IEEE 754 single precision floating point value: 10000 0000 0100 0000 0000 0000 0000 00 x 2 Do this by dragging two items from the below list into the correct spaces in the above expression. -128 -126 -1.0 -1.01 -1.1 -129 -127arrow_forward
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning