Jan-Erik Soderholm wrote: > The rotate instructions, if I'm not wrong. > I think there are som changes how the carry bit is handled > in some arithmetic instruction, but I'm not sure... The PIC 16 always rotates thru the carry bit. On the PIC 18 there are two rotate instructions for each direction, one that rotates thru C and one that doesn't. The dumb thing is that they changed the mnemonic for the one that does, even though the instruction does the same thing. At least the assembler will find all the rotates so you can manuall change them. The nasiest difference is that the DECF and INCF instruction now have different effect on the status bits. I think the PIC 18 way is better, but the same mnemonics have different effects on the 16 adn 18. I don't understand why they needed to make a new mnemonic for the rotate instruction that does the same thing, but keep the same mnemonic for the DECF and INCF instruction that do something different. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist