>>


Obtains only the right-shifted value of the first term which appears in the second term.

[Function]

Returns a value obtained by shifting the value of the 1st term of an expression to the right the number of bits specified by the value of the 2nd term.

The sign bit is not shifted.

The sign bit is inserted in the high-order bits, the same number of times as the number of bits that were shifted.

If the number of shifted bits is 0, the value of the first term is returned as is. If the number of shifted bits exceeds 31, 0 is returned.

[Application example]

mov32   0x800001AF >> 5, r20     ; (1)

(1)

The value "0x800001AF" is shifted 5 bits to the right, leaving the sign bit.
"0xFC00000D" is forwarded to r20.
Therefore, (1) in the above example can also be described as: mov32 0xFC00000D,r20.