Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Predict the results for the indicated memory addresses and registers after the following MC9S12DP512 assembly language program segment executes: SHOW YOUR WORK BELOW ORG $2100
Predict the results for the indicated memory addresses and registers after the following MC9S12DP512 assembly language program segment executes: SHOW YOUR WORK BELOW ORG $2100 VAR1 VAR2 DB VAR3 DB ANS DB 78 $3A SF7 DB ORG $2200 Idaa VAR1 Idab VAR2 aba adda VAR3 coma staa ANS swi END ADDRESS $2100_ ADDRESS $2102 ACCUMULATOR D = ADDRESS $2101 ADDRESS $2103
Did you get the result you predicted beforehand? ________________ (YES or NO)
6. Predict the results for the indicated memory addresses and registers after the following HCS12DG256 assembly language program segment executes: SHOW YOUR WORK BELOW (Bonus Question) VARI VAR2 VAR3 ANS DB DB DB DB ORG $2100 78 $3A $F7 0 ORG $2200 ldaa VAR1 ldab VAR2 aba adda VAR3 coma staa ANS swi END ADDRESS $2100 = (answer in Hex) ADDRESS $2101 = (answer in Hex) ADDRESS $2102 = (answer in Hex) ADDRESS $2103 = (answer in Hex) ACCUMULATOR D= (answer in Hex) 7. Did you get the result you predicted beforehand? (YES or NO) 6. Predict the results for the indicated memory addresses and registers after the following HCS12DG256 assembly language program segment executes: SHOW YOUR WORK BELOW (Bonus Question) VARI VAR2 VAR3 ANS DB DB DB DB ORG $2100 78 $3A $F7 0 ORG $2200 ldaa VAR1 ldab VAR2 aba adda VAR3 coma staa ANS swi END ADDRESS $2100 = (answer in Hex) ADDRESS $2101 = (answer in Hex) ADDRESS $2102 = (answer in Hex) ADDRESS $2103 = (answer in Hex) ACCUMULATOR D= (answer in Hex) 7. Did you get the result you predicted beforehand? (YES or NO)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