| Electronic Components Datasheet Search |
|
DP80390 Datasheet(PDF) 26 Page - Digital Core Design |
|
|
|||||||||||||||||||||||||||||
DP80390 Datasheet(HTML) 26 Page - Digital Core Design |
|
26 / 84 page ![]() DP80390 Instructions set details - 26 - All trademarks mentioned in this document http://www.DigitalCoreDesign.com are trademarks of their respective owners. http://www.dcd.pl Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved. 3.6. CJNE Instruction: CJNE <dest-byte >, < src-byte >, rel Function: Compare and jump if not equal. Description: CJNE compares the magnitudes of the first two operands, and branches if their values are not equal. The branch destination is computed by adding the signed relative displacement in the last instruction byte to the PC, after incrementing the PC to the start of the next instruction. The carry flag is set if the unsigned integer value of <dest-byte> is less than the unsigned integer value of <src-byte>; otherwise, the carry is cleared. Neither operand is affected. The first two operands allow four addressing mode combinations: the accumulator may be compared with any directly addressed byte or immediate data, and any indirect RAM location or working register can be compared with an immediate constant. 3.6.1. CJNE A, DIRECT, REL Operation: (PC) ← (PC) + 3 if (A) < > (direct) then (PC) ← (PC) + relative offset if (A) < (direct) then (C) ← 1 else (C) ← 0 Bytes: 3 Cycles: 5 Encoding: 1 0 1 1 0 1 0 1 direct address relative address |
|
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 |