SHR Arithmetic Shift Right
3-216 Instruction Set SPRU733
Pipeline
Stage E1
Read src1, src2
Written dst
Unit in use .S
Instruction Type Single-cycle
Delay Slots 0
See Also SHL, SHRU
Example 1 SHR .S1 A0,8,A1
Before instruction 1 cycle after instruction
A0 F123 63D1h A0 F123 63D1h
A1 xxxx xxxxh A1 FFF1 2363h
Example 2 SHR .S2 B0,B1,B2
Before instruction 1 cycle after instruction
B0 1492 5A41h B0 1492 5A41h
B1 0000 0012h B1 0000 0012h
B2 xxxx xxxxh B2 0000 0524h
Example 3 SHR .S2 B1:B0,B2,B3:B2
Before instruction 1 cycle after instruction
B1:B0 0000 0012h 1492 5A41h B1:B0 0000 0012h 1492 5A41h
B2 0000 0019h B2 0000 090Ah
B3:B2 xxxx xxxxh xxxx xxxxh B3:B2 0000 0000h 0000 090Ah
Pipeline