FUNCTION HEXinASCII_TO_BYTE : BYTE
Converts one word in HEX code representing its ASCII value into one byte of binary code
The higher byte in the input represents the higher bits in the output. Use BYTE_TO_HEXinASCII function for the reverse conversion.
InOut:
Scope |
Name |
Type |
Comment |
Return |
HEXinASCII_TO_BYTE |
BYTE |
Value in binary code of the input W |
Input |
W |
WORD |
Value in HEX code |