Section 2 CPU
Rev.2.00 Jun. 28, 2007 Page 18 of 666
REJ09B0311-0200
•
Exception Handling Vector Table and Memory Indirect Branch Addresses
In normal mode, the top area starting at H'0000 is allocated to the exception handling vector
table. One branch address is stored per 16 bits. The structure of the exception handling vector
table is shown in figure 2.2.
H'0000
H'0001
H'0002
H'0003
Reset exception vector
Reset exception vector
Exception
vector table
Figure 2.2 Exception Handling Vector Table (Normal Mode)
The memory indirect (@@aa:8) and extended memory indirect (@@vec:7) addressing modes are
used in the JMP and JSR instructions. An 8-bit absolute address included in the instruction code
specifies a memory location. Execution branches to the address contained in the memory location.
•
Stack Structure
The stack structure of PC at a subroutine branch and that of PC and CCR at an exception
handling branch are shown in figure 2.3. The PC contents are saved or restored in 16-bit units.
(a) Subroutine Branch
(b) Exception Handling
PC
(16 bits)
EXR
*
1
Reserved
*
1
,
*
3
CCR
CCR
*
3
PC
(16 bits)
SP
SP
Notes: 1.
2.
3.
When EXR is not used it is not stored on the stack.
SP when EXR is not used.
Ignored on return.
(SP )
*
2
Figure 2.3 Stack Structure in Normal Mode
Содержание H8SX/1650
Страница 2: ...Rev 2 00 Jun 28 2007 Page ii of xxii...
Страница 106: ...Section 4 Exception Handling Rev 2 00 Jun 28 2007 Page 84 of 666 REJ09B0311 0200...
Страница 142: ...Section 5 Interrupt Controller Rev 2 00 Jun 28 2007 Page 120 of 666 REJ09B0311 0200...
Страница 326: ...Section 8 I O Ports Rev 2 00 Jun 28 2007 Page 304 of 666 REJ09B0311 0200...
Страница 470: ...Section 12 Watchdog Timer WDT Rev 2 00 Jun 28 2007 Page 448 of 666 REJ09B0311 0200...
Страница 546: ...Section 13 Serial Communication Interface SCI Rev 2 00 Jun 28 2007 Page 524 of 666 REJ09B0311 0200...
Страница 566: ...Section 14 A D Converter Rev 2 00 Jun 28 2007 Page 544 of 666 REJ09B0311 0200...
Страница 574: ...Section 16 RAM Rev 2 00 Jun 28 2007 Page 552 of 666 REJ09B0311 0200...
Страница 584: ...Section 17 Clock Pulse Generator Rev 2 00 Jun 28 2007 Page 562 of 666 REJ09B0311 0200...
Страница 638: ...Section 19 List of Registers Rev 2 00 Jun 28 2007 Page 616 of 666 REJ09B0311 0200...
Страница 668: ...Section 20 Electrical Characteristics Rev 2 00 Jun 28 2007 Page 646 of 666 REJ09B0311 0200...
Страница 676: ...Appendix Rev 2 00 Jun 28 2007 Page 654 of 666 REJ09B0311 0200...
Страница 688: ...Rev 2 00 Jun 28 2007 Page 666 of 666 REJ09B0311 0200...
Страница 691: ......
Страница 692: ...H8SX 1650 Group Hardware Manual...