7. For both of the instructions shown below, the initial conditions are shown. The result (which the instruction stores in r1) is also shown. For each instruction, answer these questions: • What is the state of the flags (NZCV) after the instruction executes • If the operands were signed, are the results valid? Why or why not? • If the operands were unsigned, are the results valid? Why or why not? a) initial conditions: r0 = 0xAAAA_AAAA rl=0x5555_5555 ADDS rl,rl,ro Result: r1=0xFFFF_FFFF b) initial conditions: r0=0x7FFF_FFFD r1 = 0x0000_000F ADDS rl,ro,r1 Result: r1=0x8000_000C

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter3: Working With Large Worksheets, Charting, And What-if Analysis
Section: Chapter Questions
Problem 2AYK
icon
Related questions
Question
100%
7. For both of the instructions shown below, the initial conditions are shown. The result
(which the instruction stores in r1) is also shown. For each instruction, answer these
questions:
• What is the state of the flags (NZCV) after the instruction executes
•
If the operands were signed, are the results valid? Why or why not?
• If the operands were unsigned, are the results valid? Why or why not?
a) initial conditions: r0 = 0xAAAA_AAAA
rl=0x5555_5555
ADDS rl,rl,ro
Result: r1=0xFFFF_FFFF
b) initial conditions: r0=0x7FFF_FFFD
r1 = 0x0000_000F
ADDS rl,ro,r1
Result: r1=0x8000_000C
Transcribed Image Text:7. For both of the instructions shown below, the initial conditions are shown. The result (which the instruction stores in r1) is also shown. For each instruction, answer these questions: • What is the state of the flags (NZCV) after the instruction executes • If the operands were signed, are the results valid? Why or why not? • If the operands were unsigned, are the results valid? Why or why not? a) initial conditions: r0 = 0xAAAA_AAAA rl=0x5555_5555 ADDS rl,rl,ro Result: r1=0xFFFF_FFFF b) initial conditions: r0=0x7FFF_FFFD r1 = 0x0000_000F ADDS rl,ro,r1 Result: r1=0x8000_000C
Expert Solution
steps

Step by step

Solved in 3 steps

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
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning