It works now.
Many thanks to all!
Type: Posts; User: yu_raider
It works now.
Many thanks to all!
Thank you for your answer, Phillip!
Unfortunately I'm having some tough luck extracting the digits:
part = mask&opCode;
opCode <<= 4;
part >>= 12;
printf("%x\n", part); // This outputs...
Hello, I have the following variable:
short opCode = 0x22a2;
I would like to shift the order of the digits so that I get 0xa222.
I would also like to separate each individual hex digit and...