Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you please show me the process to find the correct answer to these questions? The correct answers are provided but I don't know the

Can you please show me the process to find the correct answer to these questions? The correct answers are provided but I don't know the process to get there.

image text in transcribed

In this question, you are provided with two unsigned binary numbers, A and B. You are asked to evaluate (-A - B) as well as (A+B) using the two's complement 12-bit number sustem. If the result is encoded in less than 12 bits (including the sign bit), you need to extend it to fill the entire 12 bits. If your answer is less than 12 bits or more than 12 bits, you will get zero. Indicate if an overflow occurred or not. N.B.: You need to provide the entire 12-bit result, even if an overflow occurs. You MUST report the answer in 2's complement. Do NOT convert the number back from the 2's complement. Leave it in the 2's complement representation. When A=10011100111 and B=111101010, the value of (AB)=100100101111, If an overflow occurred during evaluating this expression, type yes, if not type no no ; and the value of (A+B)=110100000011, If an overflow occurred during evaluating this expression, type yes, if not type no no Answer Key:100100101111, N|NO|No|no, 110100000011, N|NO|No|no When A=10010111010 and B=10010010011, the value of (AB)=011010110011, If an overflow occurred during evaluating this expression, type yes, if not type no yes ; and the value of (A+B)=111111011001, If an overflow occurred during evaluating this expression, type yes, if not type no no Answer Key:011010110011, Y|Yes|yes|YES, 111111011001, N|NO|No|no

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

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

Question

How does selection differ from recruitment ?

Answered: 1 week ago

Question

2. What are your challenges in the creative process?

Answered: 1 week ago