QUESTION

HCS12 assembly program to convert 2 byte hex to 3-byte BCD and ASCII

  1. 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.

  1. 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

Public Answer

HFMUXP The First Answerer