SUB fr,W |
|
| Description: | Subtract W from fr |
| Operation: | fr -= W |
| Flags affected: | C DC Z |
| Registers affected: | fr |
| Sources referenced: | W |
| Cycles: | 1 |
| Opcode: | |
| Details: | SX Users Manual page # 124 |
| Microchip PIC syntax: | SUBWF fr,1 |
| Notes: | |
Affected by the the CF_ bit in FUSEX (DEVICE CARRYX). If set to 0 the complement of C is subtracted (borrowed) from the result.