Created
April 10, 2013 05:05
-
-
Save Vimos/5351946 to your computer and use it in GitHub Desktop.
Shift Operations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The final group consists of shift operations, where the shift amount is given first, | |
and the value to shift is given second. Both arithmetic and logical right shifts are | |
possible. The shift amount is encoded as a single byte, since only shift amounts | |
between 0 and 31 are possible (only the low-order 5 bits of the shift amount are | |
considered). The shift amount is given either as an immediate or in the single- | |
byte register element %cl. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment