Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

the course is microprocessor

image text in transcribed

image text in transcribed

6. (10 pts) Given the following program: Data2: section org RESULTS: AUGEND: STORE: ADDEND: MSG: OFFSET: ds.b dc.w dc.b EQU dc.b dc.w $ 900 $10 $918,01, $918 $33, $2A, $F2, $12,120 80 "my second msg" 20,6 Code2: section org $800 LDAA #ADDEND i A= Hex LDD STORE i A= Hex B== Hex LDD #STORE i A= Hex B== Hex LDAA AUGEND+1 i A= Hex LDX AUGEND i A= Hex X== Hex ADDA 1, X i A= 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 6. (10 pts) Given the following program: Data2: section org RESULTS: AUGEND: STORE: ADDEND: MSG: OFFSET: ds.b dc.w dc.b EQU dc.b dc.w $ 900 $10 $918,01, $918 $33, $2A, $F2, $12,120 80 "my second msg" 20,6 Code2: section org $800 LDAA #ADDEND i A= Hex LDD STORE i A= Hex B== Hex LDD #STORE i A= Hex B== Hex LDAA AUGEND+1 i A= Hex LDX AUGEND i A= Hex X== Hex ADDA 1, X i A= 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

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions