Architecture

DERET

Debug Exception Return

DERET

 

31

26 25

24

6 5

0

 

 

COP0

 

CO

0

 

 

DERET

 

 

010000

 

1

000 0000 0000 0000 0000

 

 

011111

 

 

6

1

19

 

 

6

 

Format :

DERET

Description :

Executes a return from a self-debug interrupt or exception. This instruction requires a branch delay slot like that of the branch or jump instructions, and executes with a delay of one instruction cycle. The DERET instruction itself cannot be put in the delay slot.

The return address stored in the DEPC register is copied to the PC, and processing returns to the original program.

Note: If a MTC0 instruction was used to set the return address in the DEPC register, a minimum of two instructions must be executed before executing DERET.

Operation :

T:temp DEPC

T + 1:

PC temp

 

Debug30 0

Exceptions :

Coprocessor Unusable exception

138

Page 149
Image 149
Toshiba TX39 user manual Deret