Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 1 of 2 - You are provided with two of two's complement 6-bit binary numbers, A and B. Evaluate (-A+B) using the two's complement
Part 1 of 2 - You are provided with two of two's complement 6-bit binary numbers, A and B. Evaluate (-A+B) using the two's complement 6-bit number system. If the result is encoded in less than 6 bits (including the sign bit), you need to extend it to fill the entire 6 bits. If your answer is less than 6 bits or more than 6 bits, you will get zero. You need to provide the entire 6-bit result, even if an overflow occurred. You MUST report the answer in two's complement After calculating the result, state the values of the Z, N, V, and C flags. Question 1 of 2 10.0 Points , the Z flag = Click to see additional instructions When A = 101111 and B = 010001, the value of (-A+B) = , the N flag = , the V flag = and the C flag =
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started