Epson S1C17 Series Manual page 174

Cmos 16-bit single chip microcontroller
Hide thumbs Also See for S1C17 Series:
Table of Contents

Advertisement

retd
Function
Return from a debug-interrupt handler routine
Standard)
Extension 1) Unusable
Extension 2) Unusable
15 14 13 12 11 10
Code
0
0
0
|
|
IL
IE
C
Flag
|
|
↔ ↔ ↔ ↔ ↔ ↔
Mode
CLK
Four cycles
Description
Restore the contents of the R0, PSR, and PC that were saved to the work area for debugging
(DBRAM) when an debug interrupt occurred to the respective registers, and return from the debug
interrupt handler routine.
This instruction is provided for debug firmware. Do not use it in the user program.
Example
retd
S1C17 CORE MANUAL
(Rev. 1.2)
r0 ← A[DBRAM + 0x4](23:0), {psr, pc} ← A[DBRAM + 0x0]
9
8
7
6
|
0
0
0
0
1
0
1
|
|
|
|
|
|
V
Z
N
|
|
|
; Return from a debug interrupt handler routine
Seiko Epson Corporation
5
4
3
2
1
0
1
0
1
0
0
0
|
|
|
|
|
|
7 DETAILS OF INSTRUCTIONS
7-115

Advertisement

Table of Contents
loading

Table of Contents