SQLite Forum

Off-by-one in testing.html
There are many processors the shift instructions only uses some of the bits in the shift word, and ignores higher order bits in the shift count.

Most processors in the x86 family only use the bottom 5 bits (6 bits for 64 bit mode), and ARM processors only use the bottom 8 bits, so a shift of 32 would zero the register, but a shift of 256 wouldn't.