Question: 2 s Complement Arithmetic Given the following decimal numbers: A = 5 6 B = 9 2 C = - 2 4 D = -
s Complement Arithmetic
Given the following decimal numbers:
A
B
C
D
Using bit twos complement arithmetic, perform the following six calculations as they
would be done on an bit microprocessor. Recall that subtraction is performed by
negating the second operand and adding, ie all operations are performed with a binary
adder circuit.
AB
AB
AC
AC
CD
For each calculation, show the bit result and check that it corresponds to the correct
decimal value. Note any overflow conditions ie the result is outside of the range of
values that can be represented by bits in an bit s complement number system.
For example:
This is the expected result, and is within the range of bit s complement values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
