DRET

Debug Return

DRET

Returns from Debug Mode to the mode defined in the 'dcsr' register.

Details

DRET returns from debug mode. It restores PC from dpc and restores the privilege mode recorded before entering debug mode.

Pseudocode Operation

PC = DPC; Priv = DCSR.prv;

Example

DRET

Encoding

Binary Layout
01111011001000000000000001110011
31:0
 
Format R-Type (System)
Opcode 0x7B200073
Extension Privileged

Operands