Question: Microprocessor Bonus question (6 points) Write a syntactically correct HCS12 program that converts two 16-bit numbers, stored in memory, into their equivalent binary coded decimal
Bonus question (6 points) Write a syntactically correct HCS12 program that converts two 16-bit numbers, stored in memory, into their equivalent binary coded decimal (BCD) number then add the two BCD numbers together and store the result in another memory location. Note that you need to initialize the numbers in memory and reserve as much space as you need for the program to work correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
