Ax51 User's Guide

SHR Assembler Operator

Arguments
operand1 SHR operand2


Description

The shift right operator, SHR, shifts operand1 right the number of bits specified by operand2. Both operands must be absolute values.

See Also

SHL

Example
MOV R0, #(80h SHR 2)