P
Patrick
Hi
I wanna do a simple xor of two 64 bit variables as in the following code
fragment:
unsigned long long test0 = 0x8888000000001210LL;
unsigned long long test1 = 0x88111111111100EFLL;
unsigned long long test2;
test2 = test0 | test1;
printf("0x%016x ",test2);
Unfortuantely only the lower 32 bits of the result are correct as the
output shows
0x00000000111112ff
Anyone an idea why the higher 32 bits are not affected by the bitoperation?
many thanks!
I wanna do a simple xor of two 64 bit variables as in the following code
fragment:
unsigned long long test0 = 0x8888000000001210LL;
unsigned long long test1 = 0x88111111111100EFLL;
unsigned long long test2;
test2 = test0 | test1;
printf("0x%016x ",test2);
Unfortuantely only the lower 32 bits of the result are correct as the
output shows
0x00000000111112ff
Anyone an idea why the higher 32 bits are not affected by the bitoperation?
many thanks!