Author: Bill Woodger
Subject: Reply to: Convert Decimal to hexadecimal
Posted: Fri May 27, 2016 4:53 pm (GMT 5.5)
Well, it's a Binary Coded Decimal that you want. "Converting it to hex" is not a clear description.
You are going to have to multiply your ZD by 10, giving you the PD (one byte longer than needed for your final result) then ignore the right-most byte,
Subject: Reply to: Convert Decimal to hexadecimal
Posted: Fri May 27, 2016 4:53 pm (GMT 5.5)
Well, it's a Binary Coded Decimal that you want. "Converting it to hex" is not a clear description.
You are going to have to multiply your ZD by 10, giving you the PD (one byte longer than needed for your final result) then ignore the right-most byte,