PIC17CXX Instruction Set


CPFSGT


Syntax : CPFSGT f

Description : If the contents of data memory location 'f' are greater 
              than the contents of W register, the next instruction is skipped.
              The subtraction is unsigned. If f>W the next instruction, already 
              fetched, is discarded and a NOP is executed instead, making this
              a 2 cycles instruction.

Function : (f) - (W), skip next if f > W (unsigned comparison)

Hex code : 30ff

Bit field:
0011 0000 ffff ffff

Words : 1

Cycles : 1(2)

Affected flags : None

See also :   CPFSEQ,   CPFSLT
Previous    Upper level    Next