|
AND fr,#literal AND literal into fr
Words: 2 Cycles: 2 Affects: W, Z
Operation: Literal is ANDâd into fr via W. Z will be set if the result is 0; otherwise, Z will be cleared.
Coding: MOV W,#lit (MOVLW lit) AND fr,W (ANDWF fr,1)
AND fr1,fr2 AND fr2 into fr1 Words: 2 Cycles: 2 Affects: W, Z
Operation: Fr2 is ANDâd into fr1 via W. Z will be set if the result is 0; otherwise, Z will be cleared.
Coding: MOV W,fr2 (MOVF fr2,0) AND fr1,W (ANDWF fr1,1)
AND fr,W AND W into fr Words: 1 Cycles: 1 Affects: Z
Operation: W is ANDâd into fr. Z will be set if the result is 0; otherwise, Z will be cleared.
Coding: ANDWF fr,1
AND W,#literal AND literal into W Words: 1 Cycles: 1 Affects: Z
Operation: Literal is ANDâd into W. Z will be set to 1 if the result was 0, otherwise Z will be cleared to 0.
Coding: ANDLW literal
AND W,fr AND fr into W into fr Words: 1 Cycles: 1 Affects: Z
Operation: Fr is ANDâd into W. Z will be set to 1 if the result was 0, otherwise Z will be cleared to 0.
Coding: ANDWF fr,0 |

