General-Purpose Registers (Register Bank) - Fujitsu F2MC-16LX Hardware Manual

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

Advertisement

CHAPTER 2 CPU
2.3.7

General-purpose Registers (Register Bank)

Functions of general-purpose registers (register bank) are described here.
General-purpose Registers (Register Bank)
The register bank consisting of 8 words can be used as the general-purpose register for arithmetic
operations of the byte register (R0 to R7), the word register (RW0 to RW7), and the long word register
(RL0 to RL3). In addition, the register bank can be used as the instruction pointer. Table 2.3-2 shows the
functions of each register and Figure 2.3-12 shows the relations with each register.
The register bank value is not initialized by the reset as same as the normal RAM area and the status before
the reset is maintained.
However, power becomes irregular when it is on.
Table 2.3-2 Functions of Each Register
R0 to R7
Used as operands for various instructions
Note: The R0 is also used as the barrel shift counter or the normalization instruction counter.
RW0 to RW7
Used as pointers and operands for various instructions
Note: RW0 can also be used as the string instruction counter.
RL0 to RL3
Used as long pointers and operands for various instructions
R0
R1
R2
R3
42
Figure 2.3-12 Relations with Each Register
RW0
RL0
RW1
RW2
RL1
RW3
RL2
RW4
RW5
RW6
R4
R5
R6
RW7
R7
RL3

Advertisement

Table of Contents
loading

Table of Contents