MB95630H Series
4
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 2 CPU
2.1 Dedicated Registers
2.1
Dedicated Registers
The CPU has dedicated registers: a program counter (PC), two registers for
arithmetic operations (A and T), three address pointers (IX, EP, and SP), and the
program status (PS) register. Each of the registers is 16 bits long. The PS
register consists of the register bank pointer (RP), direct bank pointer (DP), and
condition code register (CCR).
■
Configuration of Dedicated Registers
The dedicated registers in the CPU consist of seven 16-bit registers. As for the accumulator (A)
and the temporary accumulator (T), using only the lower eight bits of the respective registers is
also supported.
Figure 2.1-1 shows the configuration of the dedicated registers.
Figure 2.1-1 Configuration of Dedicated Registers
■
Functions of Dedicated Registers
●
Program counter (PC)
The program counter is a 16-bit counter which contains the memory address of the instruction
currently executed by the CPU. The program counter is updated whenever an instruction is
executed or an interrupt or a reset occurs. The initial value set immediately after a reset is the
mode data read address (0xFFFD).
●
Accumulator (A)
The accumulator is a 16-bit register for arithmetic operation. It is used for a variety of
arithmetic and transfer operations of data in memory or data in other registers such as the
temporary accumulator (T). The data in the accumulator can be handled either as word (16-bit)
data or byte (8-bit) data. For byte-length arithmetic and transfer operations, only the lower
eight bits (AL) of the accumulator are used with the upper eight bits (AH) left unchanged. The
initial value set immediately after a reset is "0x0000".
Initi
a
l v
a
l
u
e
0xFFFD
Progr
a
m co
u
nter
Indic
a
te
s
the
a
ddre
ss
of the c
u
rrent in
s
tr
u
ction.
0x0000
Acc
u
m
u
l
a
tor (A)
Tempor
a
ry
s
tor
a
ge regi
s
ter for
a
rithmetic oper
a
tion
a
nd tr
a
n
s
fer
0x0000
Tempor
a
ry
a
cc
u
m
u
l
a
tor (T)
Perform
s
a
rithmetic oper
a
tion
s
with the
a
cc
u
m
u
l
a
tor.
0x0000
Index regi
s
ter
Indic
a
te
s
a
n index
a
ddre
ss
.
0x0000
Extr
a
pointer
Indic
a
te
s
a
memory
a
ddre
ss
.
0x0000
S
t
a
ck pointer
Indic
a
te
s
the c
u
rrent
s
t
a
ck loc
a
tion.
0x00
3
0
Progr
a
m
s
t
a
t
us
S
tore
s
a
regi
s
ter
ba
nk pointer,
a
direct
ba
nk pointer,
a
nd
a
condition code.
16
b
it
s
P
S
S
P
EP
IX
PC
TH
TL
AH
AL
RP
DP
CCR
:
:
:
:
:
:
:
Содержание MB95630H Series
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 20: ...xvi ...
Страница 106: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 282: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 642: ...MB95630H Series 622 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 644: ......