| Electronic Components Datasheet Search |
|
D17133CS Datasheet(PDF) 224 Page - NEC |
|
|
|||||||||||||||||||||||||||||
D17133CS Datasheet(HTML) 224 Page - NEC |
|
224 / 289 page ![]() CHAPTER 18 INSTRUCTION SET 209 MEM00C MEM 0.0CH MEM00D MEM 0.0DH MEM00E MEM 0.0EH MEM00F MEM 0.0FH SET2 CMP, Z ; CMP flag ← 1, Z flag ← 1 SUB MEM000, MEM00C ; Contents for addresses 0.00H-0.03H do not change, SUBC MEM001, MEM00D ; because CMP flag is set SUBC MEM002, MEM00E ; SUBC MEM003, MEM00F ; SKF1 Z ; Z flag=1, if contents are the same; if not, Z flag=0 BR LAB1 ; BR LAB2 LAB1: LAB2: (4) SUBC m, #n4 Subtract immediate data from data memory with carry flag <1> OP code 10 87 43 0 10011 mR mC n4 <2> Function When CMP=0, (m) ← (m) – n4 – CY Subtracts immediate data and the value of carry flag CY from the data memory contents, and stores the result in data memory. When CMP=1, (m) – n4 – CY The result is not stored in the data memory. Carry flag CY and zero flag Z are changed, according to the result. Sets carry flag CY, if a borrow occurs as a result of the subtraction. Resets the carry flag CY, if no borrow occurs. If the subtraction result is other than zero, zero flag Z is reset, regardless of compare flag CMP. |
|
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 |