| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP14KB bảng dữ liệu(PDF) 241 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB bảng dữ liệu(HTML) 241 Page - NEC |
|
241 / 373 page ![]() CHAPTER 14 INSTRUCTION SET 223 14.4.3 Auto-increment addressing This is a special mode of register indirect addressing using the HL and DE register pairs, in which, after the memory to be manipulated is addressed using the contents of the register pair specified by the addressing specification code (A3A2A1A0) in the instruction as the operand address, the contents of that register pair are automatically incremented by 1, thus preparing for the next addressing operation. Auto-increment addressing is used when an instruction with the following operand formats is executed. Notation Description Method rpa D+, H+ rpa2 D+, H+ Examples 1. STAX rpa2 Operation code A3 0111A2 A1 A0 If the auto-increment mode is selected for the DE register pair used as rpa2, the instruction is written as shown below. STAX D+; (DE) ← A, DE ← DE + 1 The corresponding operation code is shown below. Operation code 00111100 2. Execution of the BLOCK instruction Although not specified by an operand, when the BLOCK instruction is executed, the HL register pair is automatically selected as the source address register and the DE register pair as the destination address register. After the data transfer from the source address to the destination address has been performed, the HL and the DE register pairs are both automatically incremented by 1. BLOCK ; (DE) ← (HL), DE ← DE + 1, HL ← HL + 1 3. Execution of a return instruction on POP instruction Although not specified by an operand, when a return instruction or POP instruction which restores data saved to the stack area is executed, auto-incrementing of the stack pointer (SP) is performed. RET; PCL ← (SP), PCH ← (SP+1), SP ← SP + 2 |
|
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 |