Register Bank Pointer (Ps: Rp) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 3 CPU
3.7.5

Register Bank Pointer (PS: RP)

The register bank pointer (RP) is a register that indicates the first address of the
general-purpose register bank currently being used. The RP is used for real address
conversion when general-purpose register addressing is used.
■ Register Bank Pointer (RP)
Figure 3.7-10 shows the configuration of the register bank pointer (RP) register.
■ General-purpose Register Area and Register Bank Pointer
The register bank pointer points to the relationship between the general-purpose register of the F
16LX and the address in internal RAM where the general-purpose register exists. Figure 3.7-11 shows the
conversion rules used for the relationship between the contents of the RP and the real address.
Figure 3.7-11 Conversion Rules for Physical Address of General-purpose Register Area
Conversion formula [000180
• Since the RP takes a value from 00
from 000180
• Although an assembler instruction can use an 8-bit immediate value transfer instruction for transfer to
the RP, in actuality only the lower 5 bits of the data are used.
• The initial value of the RP register after a reset is 00
50
Figure 3.7-10 Configuration of the Register Bank Pointer (RP)
Default value ⇒
+ (RP) × 10
H
When RP = 10
to 00037F
.
H
H
bit
12
11
10
9
8
B4 B3 B2 B1 B0
0
0
0
0
0
]
H
000370
H
H
000280
000180
to 1F
, the first address of the register bank can be set in the range
H
H
.
H
: RP
Register bank 31
Register bank 16
H
Register bank 0
H
2
MC-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents