| 数据搜索系统,热门电子元器件搜索 |
|
780964 数据表(PDF) 83 Page - NEC |
|
|
|||||||||||||||||||||||||||||
780964 数据表(HTML) 83 Page - NEC |
|
83 / 129 page ![]() 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] ZAC 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 A3 to A0 ≤ 9A7 to A4 ≤ 9 and CY = 0 A ← A, CY ← 0, AC ← 0 AC = 0 A7 to A4 ≥ 10 or CY = 1 A ← A+01100000B, CY ← 1, AC ← 0 A3 to A0 ≥ 10 A7 to A4 < 9 and CY = 0 A ← A+00000110B, CY ← 0, AC ← 1 AC = 0 A7 to A4 ≥ 9 or CY = 1 A ← A+01100110B, CY ← 1, AC ← 1 AC = 1 A7 to A4 ≤ 9 and CY = 0 A ← A+00000110B, CY ← 0, AC ← 0 A7 to A4 ≥ 10 or CY = 1 A ← A+01100110B, CY ← 1, AC ← 0 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |