UPD75238GJ NEC [NEC], UPD75238GJ Datasheet - Page 19
UPD75238GJ
Manufacturer Part Number
UPD75238GJ
Description
4 BIT SINGLE-CHIP MICROCOMPUTER
Manufacturer
NEC [NEC]
Datasheet
1.UPD75238GJ.pdf
(190 pages)
- Current page: 19 of 190
- Download datasheet (2Mb)
2.2 GENERAL REGISTER BANK CONFIGURATION
and L. These registers are mapped to addresses 00H to 1FH in memory bank 0 of the data memory. (See Fig.
2-2.) To specify a general register bank, a register bank enable flag (RBE) and a register bank select register
(RBS) are contained. The RBS is a register used to select a register bank, and the RBE is a flag used to determine
whether a register bank selected using the RBS is to be enabled. The register bank (RB) enabled at instruction
execution is determined as RB = RBE• RBS
selecting a register bank from the four register banks, depending on whether the processing is normal
processing or interrupt processing. (The RBE is automatically saved and set at the time of interrupt processing,
and is automatically restored upon completion of interrupt processing.)
decrements not only on a 4-bit basis, but also on an 8-bit basis with the XA, HL, DE, and BC register pairs.
In this case, the register pairs of the register bank that has the inverted value of bit 0 of a register bank specified
by RBE• RBS can be specified as XA’, HL’, DE’, and BC’, thus providing eight 8-bit registers. (See Fig. 2-3.)
Normal processing
Single interrupt processing
Dual interrupt processing
Multiple (triple or more) interrupt processing
The PD75238 contains four register banks, each consisting of eight general registers: X, A, B, C, D, E, H,
As indicated in Table 2-2, the PD75238 enables the user to create programs in a very efficient manner by
The general registers allow transfers, comparisons, arithmetic/logical operations, and increments and
Table 2-2 Recommended Use of Register Banks with Normal Routines and Interrupt Routines
Use register banks 2 and 3 with RBE = 1.
Use register bank 0 with RBE = 0.
Use register bank 1 with RBE = 1.
(In this case, the RBS needs to be saved and restored.)
Save and restore the registers with PUSH or POP.
PD75238
19
Related parts for UPD75238GJ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
The high-density rack server NEC Express5800/R120d-1E
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The high-density rack server NEC Express5800/R120d-1M
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The flexible compact rack server NEC Express5800/R120d-2E
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The high-capacity rack server NEC Express5800/R120d-2E(Storage-Rich)
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The scalable compact rack server NEC Express5800/R120d-2M
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The flexible blade server NEC Express5800/B120d
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
50 V/100 mA FET array incorporating 2 N-ch MOSFETs
Manufacturer:
NEC
Datasheet: