Renesas Electronics
JSR
Jump to a subroutine
Jump SubRoutine
[Syntax]
JSR src
[Operation]
SP = SP - 4;
*SP = ( PC + 2 );*
PC = src;
[Function]
-
This instruction causes the flow of execution to branch to the subroutine specified by src.
[Instruction Format]
Syntax
src
Code size
(Byte)
Rs
2
[Flag Change]
This instruction does not affect the states of flags.
[Description Example]
JSR R1