CHAPTER 3 CPU ARCHITECTURE
User’s Manual U18172EJ2V0UD
42
3.3.2 Immediate addressing
[Function]
Immediate data in the instruction word is transferred to the program counter (PC) to branch.
This function is carried out when the CALL !addr16 and BR !addr16 instructions are executed.
CALL !addr16 and BR !addr16 instructions can be used to branch to all the memory spaces.
[Illustration]
In case of CALL !addr16 and BR !addr16 instructions
15
0
PC
8 7
7
0
CALL or BR
Low addr.
High addr.
PC
PC+1
PC+2
3.3.3 Table indirect addressing
[Function]
The table contents (branch destination address) of the particular location to be addressed by the immediate data
of an instruction code from bit 1 to bit 5 are transferred to the program counter (PC) to branch.
Table indirect addressing is carried out when the CALLT [addr5] instruction is executed. This instruction can be
used to branch to all the memory spaces according to the address stored in the memory table 40H to 7FH.
[Illustration]
15
1
15
0
PC
7
0
Low addr.
High addr.
Memory (Table)
Effective a 1
Effective address
0
1
0
0
0
0
0
0
0
0
8
7
8
7
6
5
0
0
0
0
1
7
6
5
1
0
ta
4–0
Instruction code