| 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) 285 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP18KB bảng dữ liệu(HTML) 285 Page - NEC |
|
285 / 373 page ![]() CHAPTER 14 INSTRUCTION SET 267 XRAX rpa (Exclusive-Or Memory addressed by Register Pair with A) <1> Operation code : 01110000 10010A2 A1 A0 <2> Number of bytes : 2 <3> Number of states : 11 (8) <4> Function : A ← A (rpa) Obtains the exculsive logical sum of the contents of the accumulator and the contents of the memory addressed by the register pair rpa (BC, DE, HL, DE+, HL+, DE–, HL–) specified by A2A1A0 (1 to 7), and stores the result in the accumulator. <5> Flags affected : Z, SK ← 0, L1 ← 0, L0 ← 0 <6> Example : LXI H, 4000H ; HL ← 4000H MVI A, 0A8H ; A ← A8H XRAX H ; A ← A (HL) SK Z ; SKIP IF ZERO STAX D ; (DE) ← A JMP KORED 10101000 A8H 10101000 A8H ↓ 00000000 00H In this example, since the contents of A and the contents of address 4000H are the same, the exclusive logical sum is 0, and the Z flag is set. Thus the STAX instruction is skipped by the following SK Z instruction, and the JMP instruction is executed. GTAX rpa (Greater Than Memory addressed by Register Pair) <1> Operation code : 01110000 10101A2 A1 A0 <2> Number of bytes : 2 <3> Number of states : 11 (8) <4> Function : A–(rpa)–1; Skip if no borrow. Subtracts the contents of the memory addressed by the register pair rpa (BC, DE, HL, DE+, HL+, DE–, HL–) specified by A2A1A0 (1 to 7) and 1 from the contents of the accumulator. Skips if no borrow is generated as a result of the subtraction (A>(rpa)). <5> Flags affected : Z, SK, HC, L1 ← 0, L0 ← 0, CY <6> Example : GTAX D; A–(DE)–1 A skip is performed if A is greater than the contents of the memory addressed by the DE register pair. 4000H A8H Memory |
|
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 |