Question: a) Write a short program in HCS12 assembly to add the numbers in memory locations $2000 and $2001, and place the result in memory location
a) Write a short program in HCS12 assembly to add the numbers in memory locations $2000 and $2001, and place the result in memory location $2002. Use any instructions you wish. (10 points) b) Write an HCS12 instruction that loads Accumulator B from the memory address that is three more than the value in Index register X. (Do not change X.) (5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
