Answered step by step
Verified Expert Solution
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
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 decimalStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started