> If you look closely, you'll see that it appears in bit > positions 22 through 29... It seems that your "a >> 16" > expression was actually working like "a >> 22", right? > > At this point, the answer should be dawning, but just in case it > isn't... > > Decimal 22 = Hexadecimal 16. > > Oops. oops, oops yep I did think it is something simple, I usually always declare radix dec but hence I wrote a simple 5 lines test program I forgot, so let it be a reminder to cross check everuthing inclunding correct radix, if thing dont look they way they should oh, shame shame on me :) antti -- Silicon Studio Ltd. -- http://www.sistudio.com