Encoding:

SPECIAL

000000

rs

0

0 0000 0000 0

MTLHX

00001

MTLO

010011

6

5

10

5

6

Format:

MTLHX rs

SmartMIPS Crypto

Move to Lo, Hi, and Extended Carry

Purpose:

Move to Lo, Hi, and Extended Carry

Set extended Hi/Lo state.

Description:

ACX = HI; HI = LO; LO = GPR[rs] ;

The value special register HI is written to the extended accumulator bits ACX. The value in special register LO is then written to special register HI, and the value in GPR rs is written to special register LO. This is the reverse of the operation of the MFLHXU instruction.

Restrictions:

None

Operation:

newLO = GPR[rs]
newHI = LO
ACX = HIACXMSB..0
HI = newHI
LO = newLO

Exceptions:

None