Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the course is microprocessor 7. (10 pts) Given the following program: Data3: RESULTS: AUGEND: STORE: ADDEND: MSG: OFFSET: section org dc.w ds.w dc.b EQU dc.b

the course is microprocessor

image text in transcribed

image text in transcribed

7. (10 pts) Given the following program: Data3: RESULTS: AUGEND: STORE: ADDEND: MSG: OFFSET: section org dc.w ds.w dc.b EQU dc.b dc.w $480 60 $60 9, $D5, $3A, $F2,5, $50 $544 "welcome" 20,6 Code3: section org $800 LDAA ADDEND i LDD #STORE i LDD STORE i LDAA MSG+1 i LDX AUGEND+$CO i ADDA 1, X i B== B== Hex Hex A= A= A= A= A= A= Hex Hex Hex Hex Hex Hex X== Hex (i) Show the addresses of all labels in hex (in front of each label). (ii) How many bytes total are reserved in .data section? (iii) What is in register A after executing each of the instructions (Fill the blank on the right of each instruction? Hint: sometimes counting hexadecimal is a lot easier than counting in decimal 7. (10 pts) Given the following program: Data3: RESULTS: AUGEND: STORE: ADDEND: MSG: OFFSET: section org dc.w ds.w dc.b EQU dc.b dc.w $480 60 $60 9, $D5, $3A, $F2,5, $50 $544 "welcome" 20,6 Code3: section org $800 LDAA ADDEND i LDD #STORE i LDD STORE i LDAA MSG+1 i LDX AUGEND+$CO i ADDA 1, X i B== B== Hex Hex A= A= A= A= A= A= Hex Hex Hex Hex Hex Hex X== Hex (i) Show the addresses of all labels in hex (in front of each label). (ii) How many bytes total are reserved in .data section? (iii) What is in register A after executing each of the instructions (Fill the blank on the right of each instruction? Hint: sometimes counting hexadecimal is a lot easier than counting in decimal

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

Step: 3

blur-text-image

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

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions

Question

How much money can Barry and Mary gift to their grandchildren?

Answered: 1 week ago