4.5.4 Shift Arithmetic

Format:

SRA

Ra.rq,Rb.rq,Rc.wq

!Operate format

SRA

Ra.rq,#b.ib,Rc.wq

!Operate format

Operation:

Rc ARITH_RIGHT_SHIFT(Rav, Rbv<5:0>)

Exceptions:

None

Instruction mnemonics:

SRA

Shift Right Arithmetic

Qualifiers:

None

Description:

Register Ra is right shifted arithmetically 0 to 63 bits by the count in register Rb or a literal. The result is written to register Rc. The sign bit (Rav<63>) is propagated into the vacated bit positions.

4–46Alpha Architecture Handbook

Page 102
Image 102
Compaq ECQD2KCTE manual Shift Arithmetic, Sra