Question: Here is the listing file for a program for the 68HC12: -00000808 $0808 90o :OA 00 org Ata0 3:9800 36 0 ldaa $0821 adda $080D

 Here is the listing file for a program for the 68HC12:

Here is the listing file for a program for the 68HC12: -00000808 $0808 90o :OA 00 org Ata0 3:9800 36 0 ldaa $0821 adda $080D ldaa #$TE 3: 980A B6 0821 0810 86 7E oc 21 6: 0812 20 C a. I have "erased" the address of the add instruction. What is it? oD b. Also, notice also that I have erased the target of the branch "loop"). Even so, you should be able to determine loop the target address of the Branch instruction (part of answer below 0810 0000 loo o 10 c. Assume that you have downloaded the program to the 68HC12 and are using the D-Bug12 monitor to trace (single-step) the program's execution. Some of this activity is shown below. You are to provide the information that would be shown as you continue to type""over and over to single step through the program. Example of Working with 68HC12 computer >md 0820 4-Mem.ry dum 0820 3C D2 83 34-35 36 37 38 31 32 33 34- 35 36 37 38 0808 0400 0000 0000 29.00 0001 0000 PC: A: After typing "", the registers will be: After typing "t" once again, the registers will be: PC: After typing "t" once again, the registers will be: PC: After typing "t" once again, the registers will be: PC: After typing ""once again, the registers will be: PC: After typing ""once again, the registers will be: PC: At this point, what is the value stored in memory location 000A? A: A: A: A: location 082A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!