7
DETAILS OF INSTRUCTIONS
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
69
brk
Function
Debugging exception
Standard)
W[
0
x
60008
]
←
pc +
2
, W[
0
x
6000
C]
←
r
0
, pc
←
W[
0
x
60000
]
Extension
1
) Unusable
Extension
2
) Unusable
Code
15
12
11
8
7
4
3
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0x0400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
Mode
–
CLK
Nine cycles
Description
Calls a debugging handler routine.
The
brk
instruction stores the address that follows this instruction and the contents of the R
0
register into the stack for debugging, then reads the vector for the debug-handler routine from the
debug-vector address (
0
x
0060000
) and sets it to the PC. Thus the program branches to the debug-
handler routine. Furthermore the processor enters the debug mode.
The
retd
instruction must be used for return from the debug-handler routine.
This instruction is provided for debug firmware. Do not use it in general programs.
Example
brk
; Executes the debug-handler routine
Содержание S1C33 Series
Страница 1: ...CMOS 32 BIT SINGLE CHIP MICROCOMPUTER Core Manual S1C33 Family C33 PE ...
Страница 4: ......