Architecture

RFE

Restore From Exception

RFE

 

31

26

25 24

 

6 5

0

 

 

COP0

 

CO

 

0

 

 

RFE

 

 

010000

 

1

 

000 0000 0000 0000 0000

 

 

010000

 

 

6

 

1

 

19

 

 

6

 

Format :

RFE

Description :

Copies the Status register bits for previous interrupt mask mode and previous kernel/user mode (IEp and KUp) to the current mode bits (IEc and KUc), and copies the old mode bits (IEo and KUo) to the previous mode bits (IEp and KUp). The old mode bits remain unchanged.

Similarly, it copies the Cache register bits for previous data cache auto-lock mode and previous instruction cache auto-lock mode (DALp and IALp) to the current mode bits (DALc and IALc), and copies the old mode bits (DALo and IALo) to the previous mode bits (DALp and IALp). The old mode bits remain unchanged.

Normally an RFE instruction is placed in the delay slot after a JR instruction in order to restore the PC.

Operation :

T:Status Status31..4 Status5..2

Cache 08 Cache13..12 Cache13..0 08

Exceptions :

Coprocessor Unusable exception

171

Page 182
Image 182
Toshiba TX39 user manual Rfe