Software Tips
Destination bit determines W or F for result
Look at data movement and re-structure
-
Example: A + B -> A
-
MOVF B,W
-
ADDWF A,F
-
2 instructions
-
MOVF A,W
-
ADDWF B,W
-
MOVWF A
-
3 instructions
Previous slide | Next slide | Back to first slide | View graphic version |