TSK3000A Generic Instruction - ROR

Frozen Content

Instruction:    Rotate Right

Assembler Format
Example
Translates to...

ror rC, rA, IMM5

ror $3, $4, 16

sll $at, rA, 32 - IMM5
srl rC, rA, IMM5
or rC, rC, $at

ror rC, rA, rB

ror $3, $4, $5

subu $at, $0, rB
sllv $at, rA, $at
srlv rC, rA, rB
or rC, rC, $at

ror rC, IMM5

ror $3, 16

sll $at, rC, 32 - IMM5
srl rC, rC, IMM5
or rC, rC, $at

ror rC, rB

ror $3, $5

subu $at, $0, rB
sllv $at, rC, $at
srlv rC, rC, rB
or rC, rC, $at

You are reporting an issue with the following selected text and/or image within the active document: