SX Embedded Controller Instruction

CSA fr,#lit

Description: Compare, skip if above
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; add W, fr; sb 3.0
Microchip PIC syntax: MOVLW /lit; ADDWF fr,0; BTFSS 3,0
Notes:

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

see also: Program Flow Methods - Comparing values