Question: Assume we are working with a 4-bit processor where ALL data is stored in 4-bit values. For the following operations, indicate the state for each
Assume we are working with a 4-bit processor where ALL data is stored in 4-bit values.
For the following operations, indicate the state for each of the status flags listed below. Assume flags are set after the operation. [N, Z, C, V]
int main(){
uint a = 3;
uint b = 5;
uint c = a-b;
}
Question 12 options:
|
| [1, 0, 0, 1] |
|
| [1, 1, 0, 1] |
|
| [0, 0, 1, 1] |
|
| [1, 0, 0, 0] |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
