Encoding:

POOL32A

000000

rt

Impl

CFC2

1100110100

POOL32AXf

111100

6

5

5

10

6

Format:

CFC2 rt, Impl

microMIPS

Move Control Word From Coprocessor 2

Purpose:

Move Control Word From Coprocessor 2

To copy a word from a Coprocessor 2 control register to a GPR

Description:

 GPR[rt] = CP2CCR[Impl]

Copy the 32-bit word from the Coprocessor 2 control register denoted by the Impl field, sign-extending it to 64 bits.

The interpretation of the Impl field is left entirely to the Coprocessor 2 implementation and is not specified by the architecture.

Restrictions:

The result is UNPREDICTABLE if Impl specifies a register that does not exist.

Operation:

temp = CP2CCR[Impl]
GPR[rt] = sign_extend(temp)

Exceptions:

Coprocessor Unusable, Reserved Instruction