All compares on a PIC can be done with just the w register as the only temporary. On the PIC parts compares in general sould be done by comparing individual bytes whenever possible, A little attention to detail is worth it. I believe the MPC compiler has a total of 55 different code sequences related to 8 and 16 bit compares. Walter Banks > Does anyone have efficient code that will simply > COMPARE two 16-bit SIGNED integers without too > much temporary register usage?