Immediate Addressing - NEC 78K0S/KA1+ Preliminary User's Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

www.DataSheet4U.com

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
www.DataSheet4U.com
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]
CHAPTER 3 CPU ARCHITECTURE
7
CALL or BR
Low addr.
High addr.
15
PC
7
6
Instruction code
0
1
15
Effective address
0
0
7
Memory (Table)
Effective address + 1
15
PC
Preliminary User's Manual U16898EJ1V0UD
0
8 7
5
1
0
ta
0
4–0
8
7
6
0
0
0
0
0
0
0
1
0
Low addr.
High addr.
8
7
0
5
1
0
0
0
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd78f9221Mpd78f9222

Table of Contents