参数资料
型号: UPD178F124
英文描述: 78K/0 Series for Instructions | User's Manual[10/2001]
中文描述: 78K线/ 0系列说明|用户手册[10/2001]
文件页数: 82/129页
文件大小: 644K
代理商: UPD178F124
56
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User's Manual U12326EJ4V0UM
Add with Carry
ADDC
Addition of Byte Data with Carry
[Instruction format]
ADDC dst, src
[Operation]
dst, CY
← dst + src + CY
[Operand]
Mnemonic
Operand(dst,src)
Mnemonic
Operand(dst,src)
ADDC
A, #byte
ADDC
A, !addr16
saddr, #byte
A, [HL]
A, r
Note
A, [HL+byte]
r, A
A, [HL+B]
A, saddr
A, [HL+C]
Note Except r = A
[Flag]
ZAC
CY
×××
[Description]
The destination operand (dst) specified by the 1st operand, the source operand (src) specified by the 2nd
operand and the CY flag are added and the result is stored in the destination operand (dst) and the CY flag.
The CY flag is added to the least significant bit. This instruction is mainly used to add two or more bytes.
If the addition result shows that dst is 0, the Z flag is set (1). In all other cases, the Z flag is cleared (0).
If the addition generates a carry out of bit 7, the CY flag is set (1). In all other cases, the CY flag is cleared
(0).
If the addition generates a carry for bit 4 out of bit 3, the AC flag is set (1). In all other cases, the AC flag
is cleared (0).
[Description example]
ADDC A, [HL+B]; The A register contents and the contents at address (HL register + (B register)) and the
CY flag are added and the result is stored in the A register.
相关PDF资料
PDF描述
UPD178F098GF-3BA-A 8-BIT, FLASH, MICROCONTROLLER, PQFP100
UPD17P136BGT MICROCONTROLLER, PDSO28
UPD1913C Consumer IC
UPD1943G Consumer IC
UPD1962C Peripheral IC
相关代理商/技术参数
参数描述
UPD178F124GC8BT 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
UPD178F124GF3B9 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
UPD178P018 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
UPD178P018A 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
UPD178P018AGC 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER