CHAPTER 11 INSTRUCTION SET
290
User’s Manual U10676EJ3V0UM
11.4.15 Special instructions
SEL RBn
Function:
RBS
←
n n = N
1-0
: 0-3
Sets 2-bit immediate data n to the register bank select register (RBS).
SEL MBn
Function:
MBS
←
n n = N
3-0
: 0, 4, 15
Transfers 4-bit immediate data n to the memory bank select register (MBS).
GETI taddr
Function:
taddr = T
5-0
, 0: 20H to 7FH
[MkI mode]
•
When table defined by TBR instruction is referenced
PC
11-0
←
(taddr)
3-0
+ (taddr+1)
•
When table defined by TCALL instruction is referenced
(SP–1)
←
PC
7-4
, (SP–2)
←
PC
3-0
(SP–3)
←
MBE, RBE, 0, 0
(SP–4)
←
PC
11-8
PC
11-0
←
(taddr)
3-0
+ (taddr+1)
SP
←
SP–4
•
When table defined by instruction other than TBR and TCALL is referenced
Executes instruction with (taddr) (taddr+1) as op code
[MkII mode]
•
When table defined by TBR instruction is referenced
Note
PC
11-0
←
(taddr)
3-0
+ (taddr+1)
•
When table defined by TCALL instruction is referenced
Note
(SP–2)
←
×
,
×
, MBE, RBE
(SP–3)
←
PC
7-4
, (SP–4)
←
PC
3-0
(SP–5)
←
0, 0, 0, 0, (SP–6)
←
PC
11-8
PC
11-0
←
(taddr)
3-0
+ (taddr+1), SP
←
SP–6
•
When table defined by instruction other than TBR and TCALL is referenced
Executes instruction with (taddr) (taddr+1) as op code
Note
The address specified by the TBR and TCALL instructions is limited to 0000H to 0FFFH.
I/II