7
DETAILS OF INSTRUCTIONS
82
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
jpr
%rb
/ jpr.d
%rb
Function
Unconditional PC relative jump
Standard)
pc
←
pc +
rb
Extension
1
) Unusable
Extension
2
) Unusable
Code
15
12
11
8
7
4
3
0
0
0
0
0
0
0
1
d
1
1
0
0
r b
0x02C_, 0x03C_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jpr
%rb
when d bit (bit
8
) =
0
jpr.d
%rb
when d bit (bit
8
) =
1
Flag
IE C V Z N
– – – – –
|
|
|
|
Mode
Register direct
%rb
=
%r0
to
%r15
CLK
jpr
Three cycles
jpr.d
Two cycles
Description
(
1
) Standard
jpr
%rb
The content of the
rb
register is added to the PC, and the program branches to that address.
(
2
) Delayed branch (d bit =
1
)
jpr.d
%rb
For the
jpr.d
instruction, the next instruction becomes a delayed instruction. A delayed
instruction is executed before the program branches. Exceptions are masked in intervals
between the
jpr.d
instruction and the next instruction, so no interrupts or exceptions occur.
Example
jpr %r0
; PC
←
PC + R0
Caution
When the
jpr.d
instruction (delayed branch) is used, be careful to ensure that the next instruction
is limited to those that can be used as a delayed instruction. If any other instruction is executed, the
program may operate indeterminately. For the usable instructions, refer to the instruction list in the
Appendix.