Ii - 28 – Panasonic MN101C77C User Manual

Page 80

Advertising
background image

Chapter 2 CPU Basics

II - 28

Bank Function

„Bank Register for Source Address

The SBNKR register is used to specify bank area for loading instruction from memory to register. Once

this register is specified, bank control is valid for all addressing modes except I/O short instruction and

stack relative indirect instruction.

[

Chapter 2 2-1-8. Addressing modes ]

„Bank Register for Destination Address

The DBNKR register is used to specify bank area for storing instruction from register to memory. Once

this register is specified, bank control is valid for all addressing modes except I/O short instruction,stack

relative indirect instruction and bit manipulation instruction.

[

Chapter 2 2-1-8. Addressing modes ]

Figure 2-6-2 Bank Register for Destination Address (DBNKR:x'03F0B', R/W)

Figure 2-6-1 Bank Register for Source Address (SBNKR:x'03F0A', R/W)

Read, modify, write instruction such as bit manipulation (BSET, BCLR, BTST) depend on the

value of the SBNKR register, both of for reading and writing.

SBA1

0

0

1

1

SBA

0

0

1

0

1

Bank for source address selection

bank 0

bank 1

bank 2

bank 3

7

6

5

4

3

2

1

0

SBNKR

( At reset : - - - - - - 0 0 )

SBA1

-

-

-

-

-

-

SBA0

DBA1

0

0

1

1

DBA

0

0

1

0

1

Bank for destination address selection

bank0

bank1

bank2

bank3

7

6

5

4

3

2

1

0

DBNKR

( At reset : - - - - - - 0 0 )

DBA1

-

-

-

-

-

-

DBA0

Advertising
This manual is related to the following products: