beautypg.com

3 table indirect addressing – NEC PD78058FY(A) User Manual

Page 114

background image

114

CHAPTER 5 CPU ARCHITECTURE

5.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.

Before the CALLT [addr5] instruction is executed, table indirect addressing is performed. This instruction

references an address stored in the memory table at addresses 40H through 7FH, and can branch in the entire

memory space.

[Illustration]

15

1

15

0

PC

7

0

Low Addr.

High Addr.

Memory (Table)

Effective Address+1

Effective Address

0

1

0

0

0

0

0

0

0

0

8

7

8

7

6

5

0

0

1

1

1

7

6

5

1

0

ta

4–0

Operation Code

This manual is related to the following products: