Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the course is Microprocessor Systems and Interfacing Can you only teach me how can I solve these questions the answer is already given (in photo)
the course is Microprocessor Systems and Interfacing
Can you only teach me how can I solve these questions
the answer is already given (in photo)
16. Given the following program switch $ 600 RESULTS: $ 800 STORE: $ 802. AUGEND: data ds.w dc.b dc.w this section starts at address $600 $100 $20, $00A8 258, 6, $3E32 52 "test msg" 21,6 ADDEND: EQU $ 808 MSG: dc.b $ 810 OFFSET: dc.w $ 814 ; next of the end of data switch .text LDAA #ADDEND LDD STORE LDD #AUGEND LDAA OFFSET+1 LDX AUGEND+2 ADDA $800, X ;this section starts at address $900 A= 34 Hex A= 20 Hex B= A8 Hex A= 08 Hex B= 02 Hex A= 15 Hex X= 0006 Hex A= 53 Hex (38+15) (i) (6 points) Show the addresses of all labels and next of the end of the data in hex (on each (ii) (1 point) How many bytes total are reserved in data section? 214 hex. (iii) (8 points) Answer what is in registers after executing each of the instructions (Fill the blank on the right of each instruction) 16. Given the following program switch $ 600 RESULTS: $ 800 STORE: $ 802. AUGEND: data ds.w dc.b dc.w this section starts at address $600 $100 $20, $00A8 258, 6, $3E32 52 "test msg" 21,6 ADDEND: EQU $ 808 MSG: dc.b $ 810 OFFSET: dc.w $ 814 ; next of the end of data switch .text LDAA #ADDEND LDD STORE LDD #AUGEND LDAA OFFSET+1 LDX AUGEND+2 ADDA $800, X ;this section starts at address $900 A= 34 Hex A= 20 Hex B= A8 Hex A= 08 Hex B= 02 Hex A= 15 Hex X= 0006 Hex A= 53 Hex (38+15) (i) (6 points) Show the addresses of all labels and next of the end of the data in hex (on each (ii) (1 point) How many bytes total are reserved in data section? 214 hex. (iii) (8 points) Answer what is in registers after executing each of the instructions (Fill the blank on the right of each instruction)Step 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