Encoding:

POOL32A

000000

0

00000

rs

ac

MFHI

00000001

POOL32Axf

111100

6

5

5

2

8

6

SPECIAL

000000

0

000

ac

0

00000

rd

0

00000

MFHI

010000

6

3

2

5

5

5

6

Format:

MFHI rds, ac

microMIPS32 pre-Release 6, microMIPSDSP

Move from HI register

Purpose:

Move from HI register

To copy the special purpose HI register to a GPR.

Description:

rds = HI[ac]

The HI part of accumulator ac is copied to the general-purpose register rds. The HI part of the accumulator is defined to be bits 64 through 127 of the DSP Module accumulator register.

The value of ac can range from 0 to 3. When ac=0, this refers to the original HI/LO register pair of the MIPS64 architecture.

In Release 6 of the MIPS Architecture, accumulators are eliminated from MIPS64.

Restrictions:

No data-dependent exceptions are possible.

The operands must be values in the specified format. If they are not, the results are UNPREDICTABLE and the values of the operand vectors become UNPREDICTABLE.

Operation:

GPR[rds]63..0 = HI[ac]63..0 

Exceptions:

Reserved Instruction, DSP Disabled