To me, one of the most annoying things when coding in asm for the Z80 is when I need to deal with decimal numbers, particularly the Hex->BCD, BCD->Hex conversion annoys me a lot and consumes a lot of precious time.
Is there any ready to use library for hex->BCD and BCD->Hex conversion?
It would be great to have those published on the MSX Assembly Page, just like the very useful Multiplications, divisions and shifts article.
Login or 등록 to post comments
