beautypg.com

Mthi, Move to hi – NEC Network Controller uPD98502 User Manual

Page 531

background image

APPENDIX A MIPS III INSTRUCTION SET DETAILS

Preliminary User’s Manual S15543EJ1V0UM

531

MTHI

Move To HI

rs

SPECIAL

0 0 0 0 0 0

MTHI

0 1 0 0 0 1

0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

31

26 25

21 20

6 5

0

6

5

6

15

MTHI

Format:

MTHI rs

Description:

The contents of general register

rs are loaded into special register HI.

If a MTHI operation is executed following a MULT, MULTU, DIV, or DIVU instruction, but before any MFLO, MFHI,

MTLO, or MTHI instructions, the contents of special register

HI are undefined.

Operation:

32, 64 T-2: HI

← undefined

T-1: HI

← undefined

T:

HI

← GPR [rs]

Exceptions:

None