![](http://datasheet.mmic.net.cn/330000/MB89538HP_datasheet_16436949/MB89538HP_22.png)
MB89530H Series
22
2.
Registers
The F
2
MC-8L series has two types of registers, dedicated-use registers within the CPU, and general-purpose
registers in memory.
Program counter (PC)
: 16-bit length, shows the location where instructions are stored.
Accumulator (A)
: 16-bit length, a temporary memory register for calculation operations.
The lower byte is used for 8-bit data processing instructions.
Temporary accumulator (T) : 16-bit length, performs calculations with the accumulator.
The lower byte is used for 8-bit data processing instructions.
Index register (IX)
: 16-bit length, a register for index modification.
Extra pointer (EP)
: 16-bit length, a pointer indicating memory addresses.
Stack pointer (SP)
: 16-bit length, indicates stack areas.
Program status (PS)
: 16-bit length, contains register pointer and condition code.
In addition, the PS register can be divided so that the upper 8 bits are used as a register bank pointer (RP), and
the lower 8 bits as a condition code register (CCR). (See the following illustration.)
PC
A
T
IX
EP
SP
PS
16 bits
: Program counter
: Accumulator
: Temporary accumulator
: Index register
: Extra pointer
: Stack pointer
: Program status
FFFD
H
Initial value
Not fixed
Not fixed
Not fixed
Not fixed
Not fixed
I-flag
=
0, IL1, 0
=
11
Other bits not fixed
Program status register configuration
PS
RP
CCR
15
14
13
12
11
10
Open Open Open
9
8
7
6
5
4
3
2
1
0
RP
H
I
IL1
IL0
N
Z
V
C