6. Update memory values for the following code. Keep track of the loop counter (R16) and index register values as you go through the loop. LDI R16,3 R15,Y+ ST -Z, R15 DEC R16 BRNE LOOP STS 0x0200, R28 LOOP: LD CPU Register R28 (Yus) R29 (YB) R30 (ZB) R31 (ZH) Value OxFC 0x01 0x04 0x02 Data Memory Value 0x21 0x02 0x11 0x03 Address 0x01FC 0x01FD 0x01FE Ox01FF Ox0200 Ox0201 Ox0202 Ox0203

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter6: System Integration And Performance
Section: Chapter Questions
Problem 9VE
icon
Related questions
Question
6. Update memory values for the following
code. Keep track of the loop counter (R16)
and index register values as you go through
the loop.
LDI R16,3
R15, Y+
-Z, R15
LOOP: LD
ST
DEC R16
BRNE LOOP
STS 0x0200, R28
CPU
Register
R28 (YLB)
R29 (YB)
R30 (ZUB)
R31 (ZHB)
Value
OxFC
0x01
0x04
0x02
Data Memory
Value
0x21
0x02
0x11
0x03
Address
0x01FC
0x01FD
0x01FE
Ox01FF
Ox0200
0x0201
Ox0202
Ox0203
Transcribed Image Text:6. Update memory values for the following code. Keep track of the loop counter (R16) and index register values as you go through the loop. LDI R16,3 R15, Y+ -Z, R15 LOOP: LD ST DEC R16 BRNE LOOP STS 0x0200, R28 CPU Register R28 (YLB) R29 (YB) R30 (ZUB) R31 (ZHB) Value OxFC 0x01 0x04 0x02 Data Memory Value 0x21 0x02 0x11 0x03 Address 0x01FC 0x01FD 0x01FE Ox01FF Ox0200 0x0201 Ox0202 Ox0203
Expert Solution
steps

Step by step

Solved in 6 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
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning