Register Addressing - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

3.3.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.
This function is carried out when the CALLT [addr5] instruction is executed. The instruction enables a branch
to any location in the memory space by referring to the addresses stored in the memory table at 40H to 7FH.
[Illustration]
Instruction 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]
50
CHAPTER 3
CPU ARCHITECTURE
7
6
5
0
1
15
0
0
0
0
7
Memory (Table)
Low Addr.
High Addr.
15
PC
7
rp
A
15
PC
User's Manual U12978EJ3V0UD
1
0
ta
0
4–0
8
7
6
5
0
0
0
0
0
1
0
8
7
0
7
X
8
7
1
0
0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents