CSNE fr,#lit |
|
| Description: | Compare, skip if not equal |
| Operation: | ( W = lit - fr ) != 0 ? PC++ |
| Flags affected: | C DC Z |
| Registers affected: | W PC |
| Sources referenced: | fr lit |
| Cycles: | 3 |
| Opcode: | |
| Actually compiles to: | mov W, #lit; mov W, fr-w; snb 3.2 |
| Microchip PIC syntax: | MOVLW lit; SUBWF fr,0; BTFSC 3,2 |
| Notes: | |
Affected by the the CF_ bit in FUSEX (DEVICE CARRYX).
see also: Program Flow Methods - Comparing values