參數(shù)資料
型號(hào): UPD75518A
廠商: NEC Corp.
英文描述: 4 BIT SINGLE-CHIP MICROCOMPUTER
中文描述: 4位單片機(jī)
文件頁數(shù): 36/180頁
文件大小: 1595K
代理商: UPD75518A
第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頁當(dāng)前第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頁
36
μ
PD75518(A)
(1) Carry flag (CY)
The carry flag is a 1-bit flag used to store overflow or underflow occurrence information when an arithmetic
operation with a carry (ADDC, SUBC) is executed.
The carry flag also has the function of a bit accumulator, and therefore can be used to store the result of
a Boolean operation performed on the CY and bit at a specified data memory bit address.
The carry flag is manipulated using special instructions, independently of the other PSW bits.
A RESET signal occurrence causes the carry flag to be undefined.
Table 3-3 Carry Flag Manipulation Instructions
Remark
mem*.bit represents the following three addressing modes:
fmem.bit
pmem.@L
@H+mem.bit
Example
Bit 3 at address 3FH is ANDed with P33, then the result is output to P50.
MOV
H, #3H
; Set high-order 4 bits in register H
MOV1
CY, @H+0FH.3 ; CY
Bit 3 at 3FH
AND1
CY, PORT3.3
; CY
CY P33
MOV1
PORT5.0, CY
; P50
CY
(2) Skip flags (SK2, SK1, SK0)
The skip flags are used to store skip status, and are automatically set or reset when the CPU executes an
instruction.
The user cannot directly manipulate these flags as operands.
(3) Interrupt status flag (IST1, IST0)
The interrupt status flag is a 2-bit flag used to store the status of processing being performed. (For detailed
information, see
Table 5-3
.)
Instruction dedicated to
carry flag manipulation
Bit transfer instruction
Bit Boolean instruction
Interrupt handling
SET1 CY
CLR1 CY
NOT1 CY
SKT CY
MOV1 mem*.bit,CY
MOV1 CY,mem*.bit
AND1 CY,mem*.bit
OR1 CY,mem*.bit
XOR1 CY,mem*.bit
Interrupt execution
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Restores CY together with the other PSW bits from stack memory.
RETI
Sets CY to 1.
Clears CY to 0.
Inverts the contents of CY.
Skips if CY is set to 1.
Transfers the contents of CY to a specified bit.
Transfers the contents of a specified bit to CY.
ANDs, ORs, or XORs CY with the contents of a specified bit, then
sets the result in CY.
Saves CY and all other PSW bits to stack memory in parallel.
Carry flag operation/processing
Instruction (mnemonic)
相關(guān)PDF資料
PDF描述
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
UPD7556A 4-BIT, SINGLE-CHIP CMOS MICROCOMPUTERS WITH COMPARATOR
UPD7556ACS 4-BIT, SINGLE-CHIP CMOS MICROCOMPUTERS WITH COMPARATOR
相關(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 功能描述: