Table Indirect Addressing - NEC 78K/0 Series User Manual

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

3.1.3 Table indirect addressing

[Function]
Table contents (branch destination address) of the particular location to be addressed by the lower-5-bit
immediate data of an instruction code from bit 1 to bit 5 are transferred to the program counter (PC) and
branched.
When the "CALLT [addr5]" instruction is executed, table indirect addressing is performed. Executing this
instruction enables the value to be branched to all memory spaces referencing the address stored in the
memory table of 40H to 7FH.
[Illustration]
Instruction code
Effective address
Effective address+1
22
CHAPTER 3 ADDRESSING
7
6
5
1
1
ta
4–0
15
0
0
0
0
0
0
7
Memory (Table)
Low addr.
High addr.
15
PC
User's Manual U12326EJ4V0UM
1
0
1
8
7
6
5
0
0
0
1
0
8
7
1
0
0
0

Advertisement

Table of Contents
loading

Table of Contents