☖ Home Units Converter Geometry Σ Math Physics Electricity

bits left shift - example 1

Print circle and line intersection
Input bits:
Decimal:
Example 9
Carry:
Decimal:
Left shift is performed by moving all the bits one place to the left and filling  0  in the last place, most left bit is lost or moved to the next higher level.
For example, the byte   10011001   after left shift will be:   00110010
If we take into account the most left bit, the left shift operation is equivalent to multiplying the number by  2. For example the byte  00001110  equals  14 decimal, after left shift we get  00011100  which is equal to 28.