SX Embedded Controller Instruction

CSB fr,#lit

Description: Compare, skip if below
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.0
Microchip PIC syntax: MOVLW lit; SUBWF fr,0; BTFSC 3,0
Notes:

Affected by the the CF_ bit in FUSEX (DEVICE CARRYX).

see also: Program Flow Methods - Comparing values