Question: HCS12 assembly program to convert 2 byte hex to 3-byte BCD and ASCII The program must convert the 2-byte hexadecimal number to a 3-byte BCD
HCS12 assembly program to convert 2 byte hex to 3-byte BCD and ASCII
- The program must convert the 2-byte hexadecimal number to a 3-byte BCD number. The address of the hexadecimal number is supplied at address $3000, and the address of the BCD number is supplied at address $3010.
- The program converts the 2-byte hexadecimal number to a 6-byte ASCII string. The address of the hexadecimal number is supplied at address $3000, and the address of the ASCII number is supplied at address $3020.
Any help is appreivated as I am very confused on how to even start the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
