BYTE_TO_HEXinASCII (FUN)¶
FUNCTION BYTE_TO_HEXinASCII : WORD
Converts one byte of binary code into one word in HEX code representing its ASCII value
The higher bits in the input are represented by the higher byte in the output. Use HEXinASCII_TO_BYTE function for the reverse conversion.
- InOut:
Scope
Name
Type
Comment
Return
BYTE_TO_HEXinASCII
WORD
ASCII value as WORD of the input
B
Input
B
BYTE
Value in binary code