CHAPTER 2 CPU
2.3.5
Program Bank Register (PCB)
The function of program bank register (PCB) is explained.
Program Bank Register (PCB) <Initial Value: Value in Reset Vector>
Program bank register (PCB) consists of the following registers:
• Data bank register (DTB) <Initial value:00
• User stack bank register (USB) <Initial value:00
• System stack bank register (SSB) <Initial value:00
• Additional data bank register (ADB) <Initial value:00
Each of bank registers indicates the memory bank where the PC, DT, SP (user), SP (system), and AD
spaces are allocated.
Every bank register is 1 byte length. The PCB is initialized to 00
than PCB can be read. PCB cannot be written though can read.
The PCB is updated by the execution of the JMPP, CALLP, RETP, RETI, and RETF instructions that are
branched to 16 Mbytes all spaces or an interrupt occurrence. For the operation of each register, see "2.2
Memory Space".
40
>
H
>
H
>
H
>
H
by the reset. The bank registers other
H