General Registers; Configuration - NEC uPD784038 Series User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

3.8 GENERAL REGISTERS

3.8.1 Configuration

There are sixteen 8-bit general-purpose registers, and two 8-bit general-purpose registers can be used together as a 16-bit
general-purpose register. In addition, four of the 16-bit general-purpose registers can be combined with an 8-bit register for
address extension, and used as 24-bit address specification registers.
General-purpose registers other than the V, U, T, and W registers for address extension are mapped onto internal RAM.
These register sets are provided in 8 banks, and can be switched by means of software or the context switching function.
Upon RESET input, register bank 0 is selected. The register bank used during program execution can be checked by reading
the register bank selection flag (RBS0, RBS1, RBS2) in the PSW.
23
Remark Absolute names are shown in parentheses.
92
CHAPTER 3 CPU ARCHITECTURE
Figure 3-13 General-Purpose Register Format
7
0 7
A (R1)
AX (RP0)
B (R3)
BC (RP1)
R5
RP2
R7
RP3
V
R9
VP (RP4)
VVP (RG4)
U
R11
UP (RP5)
UUP (RG5)
T
D (R13)
DE (RP6)
TDE (RG6)
W
H (R15)
HL (RP7)
WHL (RG7)
15
User's Manual U11316EJ4V1UD
0
X (R0)
C (R2)
R4
R6
R8
R10
E (R12)
L (R14)
8 Banks
0

Advertisement

Table of Contents
loading

Table of Contents