Motorolla MC68HC11 Microcontroller-to convert a Hex digit.

NiCeBoY

NiCeBoY

@niceboy-ok714D Oct 23, 2024

Hello,
I am require to write a program module to convert a Hex digit passed to it in the lower nibble of Accumulator A to its ASCII character code. The upper nibble should be treated as "don't care".
Return the ASCII code in Accumulator A and save it in a suitable memory location.
All other CPU register values are to remain unchanged.


Thanks in advance for your help...

Regards...

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform