SX Embedded Controller Instruction

SUB fr,#lit

Description: Subtract lit from fr
Operation: fr -= W = lit
Flags affected: C DC Z
Registers affected: W fr
Sources referenced: lit
Cycles: 2
Opcode:
Actually compiles to: mov W, #lit; sub fr, W
Microchip PIC syntax: MOVLW lit; SUBWF fr,1
Notes: