TEST

 

TEST        fr                Test fr for zero


Words:        1        Cycles:        1                Affects:        Z

 

Operation:        Fr is read and copied back to itself. Z will be set to 1 if the value moved was 0, otherwise Z will be cleared to 0.

 

Coding:        MOVF                fr,1

 

 

TEST        W                Test W for zero


Words:        1        Cycles:        1                Affects:        Z

 

Operation:        Z will be set to 1 if W is 0, otherwise Z will be cleared to 0.

 

Coding:        IORLW                0