NonConfidential  PDF version  DUI0801J  
 
Home > Symbols, Literals, Expressions, and Operators > Shift operators 
Shift operators act on numeric expressions, by shifting or rotating the first operand by the amount specified by the second.
The following table shows the shift operators:
Table 125 Shift operators
Operator 
Alias 
Usage 
Explanation 



Rotate A left by B bits 



Rotate A right by B bits 


<< 

Shift A left by B bits 

>> 

Shift A right by B bits 
SHR
is a logical shift and does not propagate
the sign bit.