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
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
Chapter6: System Integration And Performance
Section: Chapter Questions
Problem 9VE
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe195090d-5be1-485f-9a75-48cb385ca94a%2F9b25ad1f-9815-4597-8f44-90c14a659c09%2F3dmefup_processed.jpeg&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 6 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning