Rev. 1.0, 02/00, page 542 of 1141
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.
φ
Address bus
Interrupt
request
signal
JSRexecution
Stack
saving
Start of
exception
handling
029A
SP-4
02C8
029C
SP-2
02CA
029A JSR @ER0
029C NOP
029E NOP
02C8 MOV.W R4, @OUT
02CE NOP
: :
(@ER0 = H'02C8)
*
JSR
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.11 JSR Instruction (Register Indirect)