參數(shù)資料
型號: UPD75238GJ
廠商: NEC Corp.
英文描述: 4 BIT SINGLE-CHIP MICROCOMPUTER
中文描述: 4位單片機
文件頁數(shù): 32/190頁
文件大?。?/td> 1702K
代理商: UPD75238GJ
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第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頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁
32
μ
PD75238
3.5 ACCUMULATORS
In the
μ
PD75238, the A register and the XA register pair function as accumulators. The A register is mainly
used for 4-bit data processing instructions, and the XA register pair is mainly used for 8-bit data processing
instructions.
For a bit manipulation instruction, the carry flag (CY) functions as a bit accumulator.
Fig. 3-7 Accumulators
3.6 STACK POINTER (SP) AND STACK BANK SELECT REGISTER (SBS)
The
μ
PD75238 uses static RAM as stack memory (LIFO scheme), and the 8-bit register holding the start
address of the stack area is the stack pointer (SP).
The stack area is located at addresses 000H to 3FFH in memory banks 0, 1, 2, and 3. Either of the memory
banks is selected according to the value of the 4-bit SBS.
The SP is decremented before a write (save) operation to stack memory, and is incremented after a read
(restoration) operation from stack memory. The SBS is set with a 4-bit memory manipulation instruction. Note
that the high-order two bits are always set to 00.
Fig. 3-9 and 3-10 show data saved to and restored from stack memory in these stack operations.
To place the stack area at a given location, the SP can be initialized with an 8-bit memory manipulation
instruction, and the SBS can be initialized with a 4-bit memory manipulation instruction. Both can be read
from as well.
Table 3-1 Stack Area to Be Selected by the SBS
When the SP is initialized to 00H, a stack operation starts at the high-order address (nFFH) of memory bank
(n: n = 0, 1, 2, or 3) specified with the SBS.
A stack area must be within the memory bank specified with the SBS. If a stack operation exceeds address
n00H, the operation returns to address nFFH of the same bank. Stacking beyond memory bank boundaries
is enabled only by resetting the SBS.
A RESET signal occurrence causes the contents of the SP and the SBS to be undefined, so that the SP must
always be initialized to a desired value at the start of the program.
SBS2
0
1
0
1
SBS
Memory bank 0
Memory bank 1
Memory bank 2
Memory bank 3
Stack area
-
SBS1
0
0
1
1
Bit accumulator
4-bit accumulator
8-bit accumulator
CY
A
A
X
相關(guān)PDF資料
PDF描述
UPD7527A 4-Bit, Single-Chip CMOS Microcomputers With FIP Driver
UPD7528A 4-Bit, Single-Chip CMOS Microcomputers With FIP Driver
UPD7527AC 4-Bit, Single-Chip CMOS Microcomputers With FIP Driver
UPD7527ACU 4-Bit, Single-Chip CMOS Microcomputers With FIP Driver
UPD7528AC 4-Bit, Single-Chip CMOS Microcomputers With FIP Driver
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD753012AGC-P33-8BT-A 制造商:Renesas Electronics Corporation 功能描述:
UPD753016AGC-P29-8BT 制造商:Renesas Electronics Corporation 功能描述:
UPD75304GF-407-3B9 制造商:Renesas Electronics Corporation 功能描述:
UPD75306G182 制造商:Panasonic Industrial Company 功能描述:IC
UPD75308F478 制造商:Panasonic Industrial Company 功能描述:IC