參數(shù)資料
型號: UPD75518GF
廠商: NEC Corp.
英文描述: CAT5E PATCH CABLES SNAGLESS, RED 3 FT
中文描述: 4位單片機
文件頁數(shù): 19/180頁
文件大?。?/td> 1595K
代理商: UPD75518GF
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁當(dāng)前第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁
19
μ
PD75518(A)
2.2 GENERAL REGISTER BANK CONFIGURATION
The
μ
PD75518(A) contains four register banks, each consisting of eight general registers: X, A, B, C, D, E,
H, and L. These registers are mapped to addresses 00H to 1FH in memory bank 0 of the data memory. (See
Fig. 2-3.
) 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 = RBERBS
As indicated in Table 2-2, the
μ
PD75518(A) enables the user to create programs in a very efficient manner
by 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.)
Table 2-2 Example of the Use of Register Banks with Normal Routines and Interrupt Routines
The RBE and RBS are set as indicated below.
Example
SET1
CLR1
SEL
SEL
RBE ; RBE
1
RBE ; RBE
0
RB0 ; RBS
0
RB3 ; RBS
3
The general registers allow transfers, comparisons, arithmetic/logical operations, and increments and
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 RBERBS can be specified as XA’, HL’, DE’, and BC’, thus providing eight 8-bit registers. (See
Fig. 2-4
.)
Example
SET1
SEL
MOV
ADDS HL, XA
SUBS
INCS
MOV
MOV
RBE
RB2
XA, #18H ; XA
18H
; HL
HL+XA
HL’, XA
; HL’
HL’–XA (HL’ is HL of register bank 3)
HL
; HL
HL+1
XA, #00H ; XA
00H (string effect)
XA, #10H ; XA
10H (string effect)
; RBE
1
; RBS
2
Normal processing
Single interrupt processing
Dual interrupt processing
Multiple (triple or more) interrupt processing
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 the registers with PUSH or POP.
相關(guān)PDF資料
PDF描述
UPD75518GFA 4 BIT SINGLE-CHIP MICROCOMPUTER
UPD75518A 4 BIT SINGLE-CHIP MICROCOMPUTER
UPD7556 4-BIT, SINGLE-CHIP CMOS MICROCOMPUTERS WITH COMPARATOR
UPD7566CS 4-BIT, SINGLE-CHIP CMOS MICROCOMPUTERS WITH COMPARATOR
UPD7566G EB Melody & Chime Series; Mounting Style: Panel mount; Functions: Melody & Chime; Rated Voltage: 120V AC; Style: Box style; Color: Beige Enclosure; Diameter: 133mm square; Applicable Model: EB
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD7554AG-597-E2 制造商:Renesas Electronics Corporation 功能描述:
UPD7554AG-597-E2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD7554AG-603-E2 制造商:Renesas Electronics Corporation 功能描述:
UPD7554AG-603-E2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD7554AG-611-E2 制造商:Renesas Electronics Corporation 功能描述: