Question: 2. Consider the following comparison instruction: CMP ro, r1 ; r0 = 0x70008F2D and r1 = 0x80007E1A a. Determine the value of the condition flags


2. Consider the following comparison instruction: CMP ro, r1 ; r0 = 0x70008F2D and r1 = 0x80007E1A a. Determine the value of the condition flags (N, Z, C, V) after the instruction is executed (use the values of ro and r1 listed in the comment) (5 points). b. From the condition flag bits found in (a), determine which of the following conditional branches will be executed? (5 points) BEQ (branch if equal), BNE (branch if not equal), BGT (branch if signed greater or equal), BPL (branch if plus)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
