Rev. 1.0, 02/00, page 541 of 1141
25.3.4
BSR Instruction
1. BSR Instruction (8-bit displacement)
When the trap address is the next instruction to the BSR instruction and the addressing mode is
an 8-bit displacement, transition is made to the address trap interrupt after prefetching the
instruction at the branch. The address to be stacked is 02C2.
φ
Address bus
Interrupt
request
signal
BSR execution
Stack
saving
0294
SP-4
02C2
0296
SP-2
02C4
0294 BSR @ER0
0296 NOP
0298 NOP
02C2 MOV.W R4, @OUT
02C4 NOP
: :
(@ER0 = H'02C2)
*
Start of
exception handling
BSR
instruc-
tion
pre-fetch
NOP
instruc-
tion
pre-fetch
MOV
instruc-
tion
pre-fetch
Note:
*
Trap setting address
The underlines address is the one to be actually stacked.
Figure 25.10 BSR Instruction (8-bit Displacement)