The right-shift operator causes the bit pattern in left operand to be shifted to the right by the number of positions specified by right operand. For unsigned numbers, the bit positions that have been vacated by the shift operation are zero-filled. For signed numbers, the sign bit is used to fill the vacated bit positions. In other words, if the number is positive, 0 is used, and if the number is negative, 1 is used.
Expression >> Expression
> a = 0xFFFF
> PRINT INT_TO_HEX_STR(a)
0x0000FFFF
> a = a >> 4
> PRINT INT_TO_HEX_STR(a)
0x00000FFF
> a = 0xFFFF0000
> PRINT INT_TO_HEX_STR(a)
0xFFFF0000
> a = a >> 4
> PRINT INT_TO_HEX_STR(a)
0xFFFFF000