Michael Rigby-Jones wrote: > Your compiler should handle any differences in banking and > paging automaticly, this is one of the advatnages of a high > level language. It's not entirely clear that Rocko's compiler recognizes that it is dealing with a 628. If it did, then as a so-called "high level language" it should recognize the need to properly initialize the ports. Rocko, there are a LOT of differences between the 84A and the 628. The one that catches most beginners out is the CMCON thing that Michael mentions. But unless your compiler understands that it is dealing with a different part, you are going to have a tough battle. The big differences are mostly handled automatically by a processor include file in assembler, so most beginners, who surprisingly enough seem to use assembler, have them dealt with for them. There are a number of other things that aren't really handled "automatically", but they aren't quite as likely to trap someone as the CMCON thing. But to deal with the bulk of the differences, your compiler somehow needs to be told what processor it is dealing with. If it cannot, it may be that you are stuck with the 84A. If your compiler can handle a variety of parts, you might look to some of the newer parts. A while back the 628 was an obvious hobbyist successor to the 84. But in more recent years, a number of much more capable 18 pin parts have come out, and some of them are available from hobbyist sources at prices very similar to the 628. So if you are going to make a change, you might look at what that change might be able to get for you, rather than relying on what it got someone else a long time ago. --McD -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist