Question
Indicate the values for the condition codes N, Z, V, and C for the following problems. All items in this problem are 4 bits long.
Indicate the values for the condition codes N, Z, V, and C for the following problems. All items in this problem are 4 bits long. When a particular condition code is not relevant for the problem, you should list N/A as your solution for that condition code.
a.Signed Arithmetic, Instruction ADDS X9, X9, X10i. X9 = 2, X10 =7ii. X9 = -6, X10 = 2iii. X9 = -6, X10 = -3
b. Signed Arithmetic, Instruction SUBS X9, X9, X10i. X9 = -6, X10 = -4ii. X9 = -4, X10 = -4iii. X9 = 5, X10 = -4
c.Unsigned Arithmetic, Instruction ADDS X9, X9, X10i. X9 = 8, X10 = 7ii. X9 = 8, X10 = 10
d. Unsigned Arithmetic, Instruction SUBS X9, X9, X10i. X9 = 8, X10 = 7ii. X9 = 9, X10 = 10
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started