Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2 (20 points, two parts) Consider the following assembly sequence S1500 org movw #SolA8,$1000 movw $0196, S1002 movw #$0135, $1004 ldd subd std ldd addd

image text in transcribed
image text in transcribed
Q2 (20 points, two parts) Consider the following assembly sequence S1500 org movw #SolA8,$1000 movw $0196, S1002 movw #$0135, $1004 ldd subd std ldd addd std end ; initialize word @SI000 to value #SolA8 $1000 $1002 $1008 $1004 $1008 S1010 A. What does this code do? Explain (10 points) Data Memory $1000 The program does A-B-$0012 Stored in $1002, then add C to $0012 And store results in $1010 B. Fill up the values of the data memory shown after executing the Program. Show the address of each memory location. (10 points) LDAB op Load D LDS copn Load SP LOX cop Load index register x LOY cop Load index registar Y Load elective address into SP SP otective address LEAS

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

What is a verb?

Answered: 1 week ago

Question

Group Size and Communication

Answered: 1 week ago

Question

Understanding Group Roles

Answered: 1 week ago