Hi, there are some instructions that may work for you from the DSPIC30F Programmer's Reference manual: CPSEQ Wb,Wn --> Compare Wb-Wn, skip if = CPSGT Wb,Wn --> Compare Wb-Wn, skip if > CPSLT Wb,Wn --> Compare Wb-Wn, skip if < CPSNE Wb,Wn --> Compare Wb-Wn, skip if Not Equal Best regards, Jorge Nakandakari -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist