Branch Unspecified
28 Oct 2008

Motorolla MC68HC11 Microcontroller-to convert a Hex digit.

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


Be the first one to reply

Share this content on your social channels -

Only logged in users can reply.