English
Language : 

HD404829R Datasheet, PDF (19/149 Pages) Renesas Technology Corp – AS Microcomputer Incorporating a LCD controller/Driver Circuit
HD404829R Series
Functional Description
Registers and Flags
The MCU has nine registers and two flags for CPU operations. They are shown in figure 8 and described
below.
Accumulator
Initial value: Undefined, R/W
3
0
(A)
B register
W register
Initial value: Undefined, R/W
Initial value: Undefined, R/W
3
0
(B)
10
(W)
X register
Y register
Initial value: Undefined, R/W
Initial value: Undefined, R/W
3
0
(X)
3
0
(Y)
SPX register
Initial value: Undefined, R/W
SPY register
Initial value: Undefined, R/W
Carry
Initial value: Undefined, R/W
Status
Initial value: 1, R/W not possible
Program counter
13
Initial value: $0000,
R/W not possible
Stack pointer
Initial value: $3FF, R/W not possible
(PC)
9
5
1 11 1
3
0
(SPX)
3
0
(SPY)
0
(CA)
0
(ST)
0
0
(SP)
Figure 8 Registers and Flags
Accumulator (A) and B Register (B)
A and B are 4-bit registers, and are used to hold the results of ALU(arithmetic and logical unit) operations
and to transfer data between memory, I/O ports, and other registers.
W Register (W), X Register (X), Y Register (Y)
W is a 2-bit register and X and Y are 4-bit registers. These registers are used in RAM register indirect
addressing. The Y register is also used in D port addressing.
17