write ALP to convert the contents of memory location C000 to an ASCH character ?
Answers
Answered by
0
Answer:
Algorithm:
1.Load the given data in accumulator and move to B register
2.Mask the most significant 4 bits(upper nibble) of the Hexa decimal number in accumulator.
3.Call subroutine to get ASCII of least significant 4 bits.
Store it in memory
4.Move B register to accumulator and mask the least significant 4 bits(lower nibble).
4.Rotate the upper and lower nibble position.
5.Call subroutine to get ASCII of upper nibble
Store it in memory
6.Terminate the program.
Similar questions
English,
17 days ago
Hindi,
17 days ago
English,
17 days ago
Physics,
1 month ago
Social Sciences,
1 month ago
Computer Science,
9 months ago
English,
9 months ago