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


Recommended Posts

Hello

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.

thanks.

Link to comment
Share on other sites

Archived

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