
SHR SHIFT LOGICAL RIGHT SHR
Operation: | Flags Affected: |
(temp) - COUNT do while (temp)::/= 0
(CF) ~
division (temp) -
if COUNT = 1 then
if
else (OF) - 0 else (OF) undefined
CF, OF, PF, SF, ZF. AF undefined
Description:
SHR destination, source
SHR (Shift Logical Right) shifts the bits in the destination operand (byte or word) to the right by the number of bits specified in the count operand. Zeros are shifted in on the left. If the sign bit retains its original value, then OF is cleared.