FUNCTION BCD_TO_BYTE : BYTE
Converts one byte in BCD code into one byte in binary code
Use BYTE_TO_BCD for the reverse conversion.
InOut:
Scope |
Name |
Type |
Comment |
Return |
BCD_TO_BYTE |
BYTE |
Value in binary code for the input B |
Input |
B |
BYTE |
Value in BCD code |