Slide 15.8: Implementing arithmetic expressions Slide 16.2: SAL/SHL instruction Home |
Shifting means to move bits right and left inside an operand. Rotating shifts each bit and copies the shifted-out bit into the lowest bit if rotate left or the highest bit if rotate right. There are two basic ways to shift bits in a number: |
|
|
|
|
|
|
|