CSA fr1,fr2 |
|
Description: | Compare, skip if above |
Operation: | ( W = fr1 - fr2 ) < 0 ? PC++ |
Flags affected: | C DC Z |
Registers affected: | W PC |
Sources referenced: | fr1 fr2 |
Cycles: | 3 |
Opcode: | |
Actually compiles to: | mov W, fr1; mov W, fr2-w; snb 3.0 |
Microchip PIC syntax: | MOVF fr1,0; SUBWF fr2,0; BTFSC 3,0 |
Notes: |
Affected by the the CF_ bit in FUSEX (DEVICE CARRYX).
see also: Program Flow Methods - Comparing values