For the assembly language instructions shown below, the initial value of r2 = Ox0000_0012 and r3 = 0x0000_0034. Show the contents of r2 and r3 after the instructions execute. Explain which conditional instructions execute or do not execute and why. CMP R3,#-1 MOVGT r2,#0XBE ADDEQ r3,r3,r2

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 1RP
icon
Related questions
Question
For the assembly language instructions
shown below, the initial value of r2 =
Ox0000_0012 and r3 = 0x0000_0034.
Show the contents of r2 and r3 after the
instructions execute. Explain which
conditional instructions execute or do not
execute and why.
CMP R3,#-1
MOVGT r2,#0×BE
ADDEQ r3,r3,r2
Transcribed Image Text:For the assembly language instructions shown below, the initial value of r2 = Ox0000_0012 and r3 = 0x0000_0034. Show the contents of r2 and r3 after the instructions execute. Explain which conditional instructions execute or do not execute and why. CMP R3,#-1 MOVGT r2,#0×BE ADDEQ r3,r3,r2
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning