asr
Sizes
byte, word, long
Default Size
word
Affected Flags
X
N
Z
V
C
✱
✱
✱
✱
✱
Operands
Op 1
Dn/(An)/Im/ea/(An, Xn)
Op 2
Dn/(An)/ea/(An, Xn)
Shifts the bits of the second operand to the "Right" as many times as the value of the first operand, depending on the specified size. The new bits are filled with the sign bit. Defaults to word. Note: ASL sets the overflow flag if the MSB changes during the shift, while ASR always clears it