recover the hight 8 bytes of 16 bytes word in a value component

Recommended Posts


i have a 16 bit word and i want to recover the 8 most significant bytes.

for example :

FROM.WORD(HRSECONDEJOURDUMOIS[0]) -> give me {{4,36}} so i want only recover the 36.

i try with

FROM.BYTE(HRSECONDEJOURDUMOIS[0]) but it give to my only the wrong part of the word that i want.


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.