25.3.5
JSR Instruction
1. JSR Instruction (Register indirect)
When the trap address is the next instruction to the JSR instruction and the addressing mode is
a register indirect, transition is made to the address trap interrupt after prefetching the
instruction at the branch. The address to be stacked is 02C8.
JSR
instruc-
pre-fetch
φ
Address bus
029A
Interrupt
request
signal
Note: * Trap setting address
The underlines address is the one to be actually stacked.
Rev. 1.0, 02/00, page 542 of 1141
NOP
MOV
instruc-
instruc-
tion
tion
tion
pre-fetch
pre-fetch
029C
02C8
SP-2
JSRexecution
Figure 25.11 JSR Instruction (Register Indirect)
Stack
Start of
exception
saving
handling
SP-4
02CA
(@ER0 = H'02C8)
029A
JSR @ER0
029C
NOP
*
029E
NOP
:
:
02C8
MOV.W R4, @OUT
02CE
NOP