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

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

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!