4) For both sets of instructions shown below, the initial value of r7 = 0x05 and the initial value of r8 = 0x07. For each case, show the value in r7 and r8 after the instructions execute. Explain which conditional instructions execute or don't execute and why.

Algebra: Structure And Method, Book 1
(REV)00th Edition
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Chapter3: Solving Equation And Problems
Section3.7: Costs, Income, And Value Problems
Problem 2CE
icon
Related questions
Question

Please help me solve this...

 

4) For both sets of instructions shown below, the initial value of r7 = 0x05 and the initial value of r8 = 0x07.
For each case, show the value in r7 and r8 after the instructions execute. Explain which conditional
instructions execute or don't execute and why.
%3D
r7,r8
MOVEQ r7,#0
r7,r8
A)
СМР
MOVLT
r8, #0
r8, r8,r7
r8,r8,r7
в)
СМР
SUBGE
ADDLT
Transcribed Image Text:4) For both sets of instructions shown below, the initial value of r7 = 0x05 and the initial value of r8 = 0x07. For each case, show the value in r7 and r8 after the instructions execute. Explain which conditional instructions execute or don't execute and why. %3D r7,r8 MOVEQ r7,#0 r7,r8 A) СМР MOVLT r8, #0 r8, r8,r7 r8,r8,r7 в) СМР SUBGE ADDLT
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell