Mfhi, Move from hi – NEC Network Controller uPD98502 User Manual

Page 528

Advertising
background image

APPENDIX A MIPS III INSTRUCTION SET DETAILS

528

Preliminary User’s Manual S15543EJ1V0UM

MFHI

Move From HI

MFHI

0

0 0 0 0 0 0 0 0 0 0

SPECIAL

0 0 0 0 0 0

31

26 25

11 10

16 15

0

6

10

5

6

rd

0

0 0 0 0 0

MFHI

0 1 0 0 0 0

5

6 5

Format:

MFHI rd

Description:

The contents of special register

HI are loaded into general register rd.

To ensure proper operation in the event of interruptions, the two instructions which follow a MFHI instruction may

not be any of the instructions which modify the

HI register: MULT, MULTU, DIV, DIVU, MTHI, DMULT, DMULTU,

DDIV, DDIVU.

Operation:

32, 64 T:

GPR [rd]

← HI

Exceptions:

None

Advertising