On Mon, Dec 18, 2006 at 03:19:19AM +0000, Paul Brook wrote: > Shifting >= the size of the value being shifted can and do give nonzero > results on common hardware. Typically hardware will truncate the shift count. > eg. x << 8 implemented with a QImode shift will give x, not 0.
This is not true on i386 and m68k. -- Rask Ingemann Lambertsen