| Electronic Components Datasheet Search |
|
D17133CS Datasheet(PDF) 213 Page - NEC |
|
|
|||||||||||||||||||||||||||||
D17133CS Datasheet(HTML) 213 Page - NEC |
|
213 / 289 page ![]() CHAPTER 18 INSTRUCTION SET 198 ADDC MEM00E, MEM001 ; (0.0EH) ← (0.0EH) + (0.41H) ADDC MEM00F, MEM002 ; (0.0FH) ← (0.0FH) + (0.42H) (4) ADDC m, #n4 Add immediate data to data memory with carry flag <1> OP code 10 87 43 0 10010 mR mC n4 <2> Function When CMP=0, (m) ← (m) + n4 + CY Add immediate data to the data memory contents with carry flag (CY), and stores the result in data memory. When CMP=1, (m) + n4 + CY The result is not stored in the data memory, and carry flag CY and zero flag Z are changed, according to the result. Sets carry flag CY, if a carry occurs as a result of the addition. Resets the carry flag CY, if no carry occurs. If the addition result is other than zero, zero flag Z is reset, regardless of compare flag CMP. If the addition result is zero, with the compare flag reset (CMP=0), the zero flag Z is set. If the addition result is zero, with the compare flag set (CMP=1), the zero flag Z is not changed. Addition can be executed in binary 4-bit or BCD. The BCD flag for PSWORD specifies which kind of addition is to be executed. <3> Example 1 Adds 5 to the 12-bit contents for addresses 0.0DH through 0.0FH, and stores the result in addresses 0.0DH through 0.0FH; (0.0FH) ← (0.0FH) + 05H (0.0EH) ← (0.0EH) + CY (0.0DH) ← (0.0DH) + CY MEM00D MEM 0.0DH MEM00E MEM 0.0EH |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |