Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1987

How to store a 64 bit integer into 4x16 bit integers ?

$
0
0
Hello, I need your to code the following logic. I am not expert in programming side but I'm pretty sure its just a matter of some bitwise operations, I'm just not entirely sure of exactly what I should be doing.

Input of Block is 64 bits, For example A=64
Output of block should be x =16
y=16
z=16
s=16

How can this logic can be implemented in C++. Please share the logic.

Viewing all articles
Browse latest Browse all 1987

Trending Articles