Bank Function - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

2.1.9

Bank Function

Bank function allows the data access in the area over the address of 0x10000.
Bank function can be used by setting the proper bank area to the bank register for source address (SBNKR) and
the bank register for destination address (DBNKR). At reset, the two registers shows indicate bank 0. Bank func-
tion is valid after setting PSW.BKD to "0".
When SBNKR or DBNKR are changed at interrupt processing, save them onto the stack area
and restore them by software.
..
..
While bank function is valid, regardless of bank setting, please use the absolute addressing
mode (It is allocated for I/O short instruction.) for data access from 0x03F00 to 0x03FFF.
For access to the memory space 0x13F00 to 0x13FFF, please use the addressing mode
..
expect absolute (register indirect or register relative indirect).
Refer to [Chapter 2 2.1.8 Addressing Modes]
..
Stack area must be set in the bank 0.
..
..
Our linker supports the function that prevents data from straddling over bank boundaries.
See [MN101C / MN101E Series Cross-assembler User's Manual] for details.
..
..
Table:2.1.4 Address Range
Bank area
Address Range
bank 0
0x00000 to 0x0FFFF
bank 1
0x10000 to 0x1FFFF
Chapter 2
CPU
Overview
II - 11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents