General Register; General Register Format - NEC PD750004 User Manual

4 bit single-chip microcomputer
Table of Contents

Advertisement

µPD750008 USER'S MANUAL
4.5 GENERAL REGISTER: 8 x 4 BITS x 4 BANKS
The general registers are mapped to particular addresses in data memory. Four banks of registers are
provided, with each bank consisting of eight 4-bit registers (B, C, D, E, H, L, X, and A).
The register bank (RB) to be enabled at the time of instruction execution is determined by:
RB = RBE·RBS: (RBS = 0 to 3)
Each general register allows 4-bit manipulation. In addition, BC, DE, HL, or XA serves as a register pair
for 8-bit manipulation. DL also makes a register pair as well as DE and HL. These three register pairs can
be used as data pointers.
In 8-bit manipulation, the register pairs in the register banks (0 <—> 1, 2 <—> 3) that have the inverted
value of bit 0 of the register bank (RB) address can be specified as BC', DE', HL', and XA' in addition to the
register pairs BC, DE, HL, and XA. (See Section 3.2.)
A general register area can be addressed and accessed as normal RAM, regardless of whether it is used
as a register.
5 6
Figure 4-8. General Register Format
Data memory
Address
3
000H
A register
001H
X register
002H
L register
003H
H register
004H
E register
005H
D register
006H
C register
007H
B register
008H
Same as bank 0
00FH
010H
Same as bank 0
017H
018H
Same as bank 0
01FH
0
Register bank 0
Register bank 1
Register bank 2
Register bank 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd750006Pd750008Pd75p0016

Table of Contents