Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Uživatelský manuál Strana 77

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 181
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 76
7 DETAILS OF INSTRUCTIONS
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
69
brk
Function
Debugging exception
Standard) W[0x60008]
pc + 2, W[0x6000C] r0, pc W[0x60000]
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 R0
register into the stack for debugging, then reads the vector for the debug-handler routine from the
debug-vector address (0x0060000) 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
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 180 181

Komentáře k této Příručce

Žádné komentáře