Question: Write an assembly program to convert a packed BCD number, 29, to ASCII number. ASCII code of a BCD digit between 0 to 9 is

Write an assembly program to convert a packed BCD number, 29, to ASCII number. ASCII code of a BCD digit between 0 to 9 is obtained by adding 30 H to that digit. Replace the low and High ASCII numbers in the register and store them in BX. Use minimum instructions.

Step by Step Solution

3.51 Rating (158 Votes )

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 Computer Engineering Questions!