NEC 78K0 Series User Manual page 79

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

3.3.3 Table indirect addressing
[Function]
Table contents (branch destination address) of the particular location to be addressed by bits 1 to 5 of the
immediate data of an operation code are transferred to the program counter (PC) and branched.
This function is carried out when the CALLT [addr5] instruction is executed.
This instruction references the address stored in the memory table from 40H to 7FH, and allows branching to
the entire memory space. However, before branching to a memory bank that is not set by the memory bank
select register (BANK), change the setting of the memory bank by using BANK.
[Illustration]
Operation code
Effective address
Effective address+1
3.3.4 Register addressing
[Function]
Register pair (AX) contents to be specified with an instruction word are transferred to the program counter (PC)
and branched.
This function is carried out when the BR AX instruction is executed.
[Illustration]
rp
PC
CHAPTER 3 CPU ARCHITECTURE
7
6
5
1
1
ta
4–0
15
0
0
0
0
0
7
Memory (Table)
Low Addr.
High Addr.
15
PC
7
A
15
Preliminary User's Manual U17260EJ3V1UD
1
0
1
8
7
6
5
0
0
0
0
1
0
8
7
0
7
X
8
7
1
0
0
0
0
0
79

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents