参数资料
型号: 78k
厂商: NEC Corp.
英文描述: Common to 78K/0 Series
中文描述: 共同的78K / 0系列
文件页数: 83/129页
文件大小: 644K
代理商: 78K
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
83
User's Manual U12326EJ4V0UM
Decimal Adjust Register for Addition
ADJBA
Decimal Adjustment of Addition Result
[Instruction format]
ADJBA
[Operation]
Decimal Adjust Accumulator for Addition
[Operand]
None
[Flag]
Z
AC
CY
×
×
×
[Description]
The A register, CY flag and AC flag are decimally adjusted from their contents. This instruction carries out
an operation having meaning only when the BCD (binary coded decimal) data is added and the addition result
is stored in the A register (in all other cases, the instruction carries out an operation having no meaning).
See the table below for the adjustment method.
If the adjustment result shows that the A register contents are 0, the Z flag is set (1). In all other cases,
the Z flag is cleared (0).
Condition
Operation
A
3
to A
0
9
A
7
to A
4
9 and CY = 0
A
A, CY
0, AC
0
AC = 0
A
7
to A
4
10 or CY = 1
A
A+01100000B, CY
1, AC
0
A
3
to A
0
10
A
7
to A
4
< 9 and CY = 0
A
A+00000110B, CY
0, AC
1
AC = 0
A
7
to A
4
9 or CY = 1
A
A+01100110B, CY
1, AC
1
AC = 1
A
7
to A
4
9 and CY = 0
A
A+00000110B, CY
0, AC
0
A
7
to A
4
10 or CY = 1
A
A+01100110B, CY
1, AC
0
相关PDF资料
PDF描述
7805ALP 16-Bit Latchup Protected ADC
7805ALPRPDE 16-Bit Latchup Protected ADC
7805ALPRPDH 16-Bit Latchup Protected ADC
7805ALPRPDI 16-Bit Latchup Protected ADC
7805ALPRPDK 16-Bit Latchup Protected ADC
相关代理商/技术参数
参数描述
78K01 功能描述:SWITCH DIP DPDT 4 CIRCUIT RoHS:否 类别:开关 >> DIP 系列:78 特色产品:RDM Series Rotary DIP Switch 标准包装:70 系列:RDM 电路:十六进制 位置数:16 触点额定电压:0.1A @ 42VDC 触动器类型:用于工具旋转 触动器电平:凹槽式 安装类型:通孔 方向:顶部触动 可清洗:是 其它名称:EG4977-5RDMAR16PIT
78K01RAT 功能描述:SWITCH DIP RAISED SLIDE 1POS TH RoHS:是 类别:开关 >> DIP 系列:78 特色产品:RDM Series Rotary DIP Switch 标准包装:70 系列:RDM 电路:十六进制 位置数:16 触点额定电压:0.1A @ 42VDC 触动器类型:用于工具旋转 触动器电平:凹槽式 安装类型:通孔 方向:顶部触动 可清洗:是 其它名称:EG4977-5RDMAR16PIT
78K01S 制造商:Grayhill 功能描述:
78K01SRAT 功能描述:SWITCH DIP RAISED SLIDE 1POS TH RoHS:是 类别:开关 >> DIP 系列:78 特色产品:RDM Series Rotary DIP Switch 标准包装:70 系列:RDM 电路:十六进制 位置数:16 触点额定电压:0.1A @ 42VDC 触动器类型:用于工具旋转 触动器电平:凹槽式 安装类型:通孔 方向:顶部触动 可清洗:是 其它名称:EG4977-5RDMAR16PIT
78K01ST 功能描述:SWITCH DIP RAISED SLIDE 1POS TH RoHS:是 类别:开关 >> DIP 系列:78 特色产品:RDM Series Rotary DIP Switch 标准包装:70 系列:RDM 电路:十六进制 位置数:16 触点额定电压:0.1A @ 42VDC 触动器类型:用于工具旋转 触动器电平:凹槽式 安装类型:通孔 方向:顶部触动 可清洗:是 其它名称:EG4977-5RDMAR16PIT