Jr %ba, Jr [addr6 – Epson S1C63000 User Manual
Page 102
96
EPSON
S1C63000 CORE CPU MANUAL
CHAPTER 4: INSTRUCTION SET
JR %BA
Jump to relative location BA reg.
1 cycle
Function:
PC
←
PC + BA + 1
Adds the content of the BA register to the address next to this instruction, to unconditionally
branch to that address. Branch destination range is the next address of this instruction +0 to
255.
Code:
Mnemonic
MSB
LSB
JR %BA
1
1
1
1
1
1
1
1
1
0
0
0
0
1FF0H
Flags:
E
I
C
Z
↓
–
–
–
Mode:
Register direct
Extended addressing: Invalid
JR [addr6]
Jump to relative location [addr6]
2 cycles
Function:
PC
←
PC + [addr6] + 1 (addr6 = 0000H–003FH)
Adds the content of the data memory (0000H–003FH) specified with the addr6 to the address
next to this instruction , to unconditionally branch to that address. Branch destination range is
the next address of this instruction +0 to 15.
Code:
Mnemonic
MSB
LSB
JR [addr6]
1
1
1
1
1
0
1 a5 a4 a3 a2 a1 a0 1F40H–1F7FH
Flags:
E
I
C
Z
↓
–
–
–
Mode:
6-bit absolute
Extended addressing: Invalid