![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_78.png)
54
CHAPTER 2 CPU
MB90560 series
2.7
2.7.9 Bank Registers (PCB, DTB, USB, SSB, ADB)
Dedicated Registers
Bank registers specify the highest 8-bit address by bank addressing. The five bank
registers are as follows:
Program bank register (PCB)
Data bank register (DTB)
User stack bank register (USB)
System stack bank register (SSB)
Additional bank register (ADB)
The PCB, DTB, USB, SSB, and ADB registers indicate the individual memory banks
where the program space, data space, user stack space, system stack space, and
additional space are located.
I
Bank registers (PCB, DTB, USB, SSB, ADB)
G
Program bank register (PCB)
The PCB is a bank register that specifies the program (PC) space.
The PCB is updated when a software interrupt instruction is executed, when the JMPP,
CALLP, RETP, and RETI instructions that branch anywhere within the 16-megabyte space
are executed, or when a hardware interrupt or exception occurs.
G
Data bank register (DTB)
The DTB is a bank register that specifies the data (DT) space.
G
User stack bank register (USB), system stack bank register (SSB)
The USB and SSB are bank registers that specify the stack (SP) space. Whether the USB or
the SSB is used depends on the S flag value in the processor status (PS: CCR). See Section
2.7.2, "Stack pointers (USP, SSP)," for details.
G
Additional bank register (ADB)
The ADB is a bank register that specifies the additional (AD) space.
G
Bank setting and data access
All bank registers are byte length. The PCB is initialized to FF
H
by a reset. The other bank
registers are initialized to 00
H
by a reset. The PCB can be read, but cannot be written to.
The other bank registers can be read and written to.
<Check>
The MB90560 series supports up to the memory space contained in the device.
See Section 2.4.2, "Address specification by bank addressing," for the operation of each
register.