Remove Most Significant Byte (MSB) from HEX

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Hi,
I like to remove the Most Significant Byte (MSB) of a HEX value.
For example
I have the value 0x86 in HEX, in BIN that is 10000110.
I have to sent the HEX with the MSB removed so that will be in BIN 110 and in HEX that will be 0x06.
Does anyone has a function that can do this?
Thanks and regards!
Roel

View the full article
 
Back
Top