Fujitsu F2MC-16LX Hardware Manual page 49

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

General-purpose Register
2
The F
MC-16LX general-purpose registers are present at addresses 000180
configuration) of main memory. The register bank pointer (RP) indicates the part in use as current register
bank out of the above mentioned address. In each bank, three kinds of registers shown next exist. They are
dependent each other as shown in Figure 2.3-2.
• R0 to R7:General-purpose register of 8-bit
• RW0 to RW7:General-purpose register of 16-bit
• RL0 to RL3:General-purpose register of 32-bit
Figure 2.3-2 shows the configuration of the general-purpose register.
000180
The relationship between the upper and lower bytes of byte register and word register can be expressed by
the equation, RW(i + 4) = RW(i × 2 + 1) × 256 + R(i × 2) [i = 0 to 3] while the relation between the upper
and lower bytes of Rli can be expressed by the equation, RW(i) = RW(i × 2 + 1) × 65536 + RW(i × 2) [i =
0 to 3].
Figure 2.3-1 Configuration of Dedicated Registers
AH
USP
SSP
16 bit
32 bit
Figure 2.3-2 Configuration of General-purpose Register
+RPx10
H
H
Lower
Upper
AL
Accumulator
User stack pointer
System stack pointer
PS
Processor status
PC
Program counter
DPR
Direct page register
PCB
Program bank register
DTB
Data bank register
USB
User stack bank register
SSB
System stack bank register
ADB
Additional data bank register
8 bit
MSB
16 bit
RW0
RW1
RW2
RW3
R0
R1
R2
R3
R5
R4
R6
R7
CHAPTER 2 CPU
to 00037F
H
LSB
RL0
RL1
RW4
RL2
RW5
RW6
RL3
RW7
(maximum
H
33

Advertisement

Table of Contents
loading

Table of Contents