µ
PD754144, 754244
14
Data Sheet U10040EJ2V1DS
4.2 Setting Method of Stack Bank Select Register (SBS)
Switching between the Mk I mode and Mk II mode can be done by the SBS. Figure 4-1 shows the format.
The SBS is set by a 4-bit memory manipulation instruction.
When using the Mk I mode, the SBS must be initialized to 1000B at the beginning of a program. When using
the Mk II mode, it must be initialized to 0000B.
Figure 4-1. Stack Bank Select Register Format
Caution Because SBS. 3 is set to “1” after a RESET signal is generated, the CPU operates in the
Mk I mode. When executing an instruction in the Mk II mode, set SBS. 3 to “0” to select
the Mk II mode.
Address
Stack area specification
Symbol
SBS
F84H
SBS3
SBS2 SBS1
SBS0
3
2
1
0
Memory bank 0
Mk II mode
Mk I mode
Other than above setting prohibited
Mode switching specification
0 must be set in the bit 2 position
0
0
1
0
0
*