Unsigned Integers: assume V0 = 0x1234
|
V1 = V0 << 5
|
V1 = 0x1234 << 5
0001_0010_0011_0100 -
initial bit pattern
0100_0110_1000_0000 -
after 5th left shift
V1 = 0x4680
|
One operand is an unsigned integer memory locations, the other is an
integer constant.
The upper 5 bits are shifted out. The remaining 11 bits are shifted
into the uppermost 11 bit positions. The bottom 5 positions are filled
with 0's.
The result is placed in an unsigned integer memory location.
|