| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP18KB bảng dữ liệu(PDF) 322 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP18KB bảng dữ liệu(HTML) 322 Page - NEC |
|
322 / 373 page ![]() CHAPTER 14 INSTRUCTION SET 304 14.6.10 Other operation instructions DAA (Decimal Adjust A) <1> Operation code : 01100001 <2> Number of bytes : 1 <3> Number of states : 4 (4) <4> Function : Determines the contents of the accumulator, CY flag and HC flag, and performs decimal adjustment as shown below. This instruction is only meaningful after execution of an operation between decimal (BCD) data items. Condition Operation A7-4 ≤ 9 and CY = 0 A ← A A7-4 ≥ 10 or CY = 1 A ← A + 01100000 A7-4 < 9 and CY = 0 A ← A + 00000110 A7-4 ≥ 9 or CY = 1 A ← A + 01100110 HC=1 A7-4 ≤ 9 and CY = 0 A ← A + 00000110 A7-4 ≥ 10 or CY = 1 A ← A + 01100110 <5> Flags affected : Z, SK ← 0, HC, L1 ← 0, L0 ← 0, CY <6> Example : MVI A, 88H ADI A, 79H ; A=01H, CY=1, HC=1 DAA ; A ← A+66H, A=67H, CY=1 ; 88+79=167 A3-0 ≤ 9 HC = 0 A3-0 ≥ 10 HC = 0 10001000 88H 01111001 79H + 00000001 01H Carry HC 01100110 66H 01100111 67H + ADI DAA <7> Caution : This instruction cannot be used for adjustment after execution of a subtract instruction. When decimal (BCD) data subtraction is performed, a complement instruction should be used. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |