Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section 3.5.43.5.4. `<<' and `>>': Bit Shift Operators ----------------------------------------- `<<' gives a bit-shift to the left, just as it does in C. So `5<<3' evaluates to 5 times 8, or 40. `>>' gives a bit-shift to the right; in NASM, such a shift is _always_ unsigned, so that the bits shifted in from the left-hand end are filled with zero rather than a sign-extension of the previous highest bit. automatically generated by info2www version 1.2.2.9 |