EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2
CPU
Overview II - 11
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".
Table:2.1.4 Address Range
..
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.
..
Bank area Address Range
bank 0 0x00000 to 0x0FFFF
bank 1 0x10000 to 0x1FFFF

Table of Contents

Related product manuals