Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Integer Arithmetic 2.(a) Show the steps for adding following two numbers: 67 and-12. Assume we have 10 bits to represer every number. (Hint: first

image text in transcribed

2. Integer Arithmetic 2.(a) Show the steps for adding following two numbers: 67 and-12. Assume we have 10 bits to represer every number. (Hint: first step is to represent both numbers in 2's complement binary representation, e 17,en = 000001000!two, and the second step is to add them.) 2.(b) Show the steps for multiplying following two numbers: 67 and 12. Assume we have 10 bits to represent every number. (Hint: first step is to represent both numbers in 2's complement binary representation, e.g.-3ten-111111110|two, and the second step is to multiply them. For multiplication steps, follow the algorithm presented in Figure 3.4 page 185 of your textbook [1l. Show your steps simil to Figure 3.6 page 187 of your textbook [1]) 3. Floating Point Arithmetic: 3.(a) Show the steps for adding following two real numbers: 26.125 and 0.4150390625. Assume we have bits to represent fraction and 5 bits to represent exponent. (Hint: first step is to represent both real numbers in normalized scientific binary notation, e.g. 175000.0ten-1.11 00000000two 200101, For floatin point addition steps, follow the algorithm presented in Figure 3.14 on page 205 of your textbook [1) 3.(b) Show the steps for multiplying following two real numbers:-8.0546875 and-0.179931640625 Assume we have 10 bits to represent fraction and 5 bits to represent exponent. (Hint: first step is to represent both real numbers in normalized scientific binary notation. For floating point multiplication steps, follow the algorithm presented in Figure 3.16 on page 209 of your textbook [1])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions

Question

to encourage a drive for change by developing new ideas;

Answered: 1 week ago

Question

4 What are the alternatives to the competences approach?

Answered: 1 week ago