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)-7+(-29)
b)31+11
c)15-19
d)-7(-3)
e)-7(3)
f)213
All the values are in decimal, but binary equivalent is 6 bits wide; so are the results.
CPU does not know that values are signed or unsigned although some of them have - sign. So CPU/ALU will always update both carry flag and overflow flag.
 Complete the following arithmetic operations in two's complement representation. What are

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!