Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Background The MSP430 has no multiplier circuit, so any multiplications must be done via software, or by using the special purpose multiplier that is attached

image text in transcribed

image text in transcribed

image text in transcribed

Background The MSP430 has no multiplier circuit, so any multiplications must be done via software, or by using the special purpose multiplier that is attached to the bus or through some combination of the two. This coding assignment will exercise your abilities to code a general purpose multiplication procedure for two 32 bit, or two 40 bit, floating point operands, producing either a standard single precision, 32 bit, output or the standard double precision, 64 bit, output. As you know from class, the IEEE 754 standard for floating point represen- tation uses the following: - # bits for S # bits for E bits for F Format Half Single Double Quad Exponent bias 15 127 1023 16383 10 23 52 112 Total # bits 16 32 64 128 15 IBM also used an "extended precision" 40 bit Format that is identical to the Single Format, but with the an additional 8 bits for F, for a total of 31 bits, i.e. we could add the row: Extended 127 18 3140 to the table. Don't forget the "implicit" bit 1 in the mantissa! For historical accuracy, you formatting. Originally, IBM used a hexadecimal representation, and so only 1 bit out of the first 4 bits was actually required to be non-zero. This evolved over time. should note that the implicit bit is a later addition to the IBM Note also that a few numbers cannot be represented by the conventional format, and so require special representation. For instance, the Singles NaN 0 11111111 10000000000000000000000 Background The MSP430 has no multiplier circuit, so any multiplications must be done via software, or by using the special purpose multiplier that is attached to the bus or through some combination of the two. This coding assignment will exercise your abilities to code a general purpose multiplication procedure for two 32 bit, or two 40 bit, floating point operands, producing either a standard single precision, 32 bit, output or the standard double precision, 64 bit, output. As you know from class, the IEEE 754 standard for floating point represen- tation uses the following: - # bits for S # bits for E bits for F Format Half Single Double Quad Exponent bias 15 127 1023 16383 10 23 52 112 Total # bits 16 32 64 128 15 IBM also used an "extended precision" 40 bit Format that is identical to the Single Format, but with the an additional 8 bits for F, for a total of 31 bits, i.e. we could add the row: Extended 127 18 3140 to the table. Don't forget the "implicit" bit 1 in the mantissa! For historical accuracy, you formatting. Originally, IBM used a hexadecimal representation, and so only 1 bit out of the first 4 bits was actually required to be non-zero. This evolved over time. should note that the implicit bit is a later addition to the IBM Note also that a few numbers cannot be represented by the conventional format, and so require special representation. For instance, the Singles NaN 0 11111111 10000000000000000000000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions