58
CHAPTER 3 CPU ARCHITECTURE
Preliminary User’s Manual U14581EJ3V0UM00
3.2.2 General registers
General registers are mapped at particular addresses (FEE0H to FEFFH) of the data memory. Four banks of
general registers, each consisting of eight 8-bit registers (X, A, C, B, E, D, L, and H) are available.
Each register can also be used as an 8-bit register. Two 8-bit registers can be used in pairs as a 16-bit register
(AX, BC, DE, and HL).
They can be described in terms of function names (X, A, C, B, E, D, L, H, AX, BC, DE, and HL) and absolute names
(R0 to R7 and RP0 to RP3).
Register banks to be used for instruction execution are set with the CPU control instruction (SEL RBn). Because
of the 4-register bank configuration, an efficient program can be created by switching between a register for normal
processing and a register for interrupt processing for each bank.
Figure 3-12. General Register Configuration
(a) Absolute Name
BANK0
BANK1
BANK2
BANK3
FEFFH
FEF8H
FEE0H
RP3
RP2
RP1
RP0
R7
15
0
7
0
R6
R5
R4
R3
R2
R1
R0
16-bit processing
8-bit processing
FEF0H
FEE8H
(b) Function Name
BANK0
BANK1
BANK2
BANK3
FEFFH
FEF8H
FEE0H
HL
DE
BC
AX
H
15
0
7
0
L
D
E
B
C
A
X
16-bit processing
8-bit processing
FEF0H
FEE8H
Содержание mPD780852 Series
Страница 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO...