77.8k views
1 vote
For the following 4-bit operation, assuming these register are ONLY 4-bits in size, which status flags are on after performing the following operation? Assume 2's complement representation. 1010+0110

a) с
b) Z
c) N

User Peelz
by
3.7k points

1 Answer

5 votes

Answer:

All flags are On ( c, z , N )

Step-by-step explanation:

Given data:

4-bit operation

Assuming 2's complement representation

Determine status flags that are on after performing 1010+0110

1 1

1 0 1 0

0 1 1 0

1 0 0 0 0

we will carry bit = 1 over

hence C = 1

given that: carry in = carry out there will be zero ( 0 ) overflow

hence V = 0

also Z = 1

But the most significant bit is N = 1

User Joerick
by
3.6k points