MIPS R4000 Microprocessor User's Manual A-69
CPU Instruction Set Details
Format:
DSRAV rd, rt, rs
Description:
The contents of general register rt are shifted right by the number of bits
specified by the low-order six bits of general register rs, sign-extending the
high-order bits. The result is placed in register rd.
This operation is only defined for the R4000 operating in 64-bit mode.
Execution of this instruction in 32-bit mode causes a reserved instruction
exception.
Operation:
Exceptions:
Reserved instruction exception (R4000 in 32-bit mode)
DSRAV
Doubleword Shift Right
31 2526 2021 1516
SPECIAL rs rt
655
rd 0 DSRAV
55 6
11 10 6 5 0
0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1
DSRAV
Arithmetic Variable
64 T: s ← GPR[rs]
5...0
GPR[rd] ← (GPR[rt]
63
)
s
|| GPR[rt]
63...s