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

  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

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!