Datasheet

Table Of Contents
Section 24 Address Break
Rev. 2.00 Jul. 04, 2007 Page 523 of 692
REJ09B0309-0200
24.2 Operation
When the ABIF2 and ABIE2 bits in ABRKSR2 are set to 1, the address break function generates
an interrupt request to the CPU. The ABIF2 bit in ABRKSR2 is set to 1 by the combination of the
address set in BAR2, the data set in BDR2, and the conditions set in ABRKCR2. When the
interrupt request is accepted, interrupt exception handling starts after the instruction being
executed ends. The address break interrupt is not masked by the I bit in CCR of the CPU.
Figures 24.2 show the operation examples of the address break interrupt setting.
NOP
instruc-
tion
prefetch
Register setting
• ABRKCR2 = H'80
• BAR2 = H'00025A
Program
000258
00025A
00025C
000260
000262
:
*
NOP
NOP
MOV.W @H'00025A,R0
NOP
NOP
:
000258
Address
bus
φ
Interrupt
request
00025A 00025C 00025E SP-2 SP-4
NOP
instruc-
tion
prefetch
MOV
instruc-
tion 1
prefetch
MOV
instruc-
tion 2
prefetch
Internal
processing
Stack save
Interrupt acceptance
Underline indicates the address
to be stacked.
When the address break is specified in instruction execution cycle
* The address break condition is set
Figure 24.2 Address Break Interrupt Operation Example (1)