@cbhe yes,just for example：

-5：11111111 11111111 11111111 11111011 (complement)

-5>>1：11111111 11111111 11111111 11111101 (-3)

-5>>>1：01111111 11111111 11111111 11111101 (2147483645)

so you can clearly see the difference：

the >> needs to consider the sign bit,so the mising bit is always 1.

and >>> doesn't need to consider it,and the mising bit is replaced by 0.

Convert a Number to Hexadecimal