Question: Complete the following arithmetic operations in two's complement representation. What are the values of the carry flag and overflow flag ( ignore them for multiply
Complete the following arithmetic operations in two's complement representation. What are the values of the carry flag and overflow flag ignore them for multiply and divide instructions
a
b
c
d
e
f
All the values are in decimal, but binary equivalent is bits wide; so are the results.
CPU does not know that values are signed or unsigned although some of them have sign. So CPUALU will always update both carry flag and overflow flag.
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
