Where a design would support any of several different processors, I put in conditional assembly to handle the differences between the chips (typically in port initialization). I then set a label (not a RMA or ROM location) at the beginning of the code to enable the appropriate chunks of code. I think there is a predefined symbol set by "list p= ", but I haven't tried to figure out what it's called. If that were done, it could be referenced in the conditional assembly. Harold Harold Hallikainen harold@hallikainen.com Hallikainen & Friends, Inc. See the FCC Rules at http://hallikainen.com/FccRules and comments filed in LPFM proceeding at http://hallikainen.com/lpfm On Mon, 19 Jul 1999 19:23:43 +0100 Clint Sharp writes: >I'm trying to work out a spec for a project based 'round a PIC, the >project needs to control seven relays, LCD (16x4), I2C (2 devices), >various LEDs (probably four) and a five key keypad and, hopefully, a >40/80 column cash register type printer. The chips I'm looking at are >the 16C64/5 and 16C74, am I right in assuming that the 16C65 is >basically a C74 without the ADC? Can I just use a /JW C74 and ignore >the >ADC (would be nice to have for a later project) without ill effects or >do I need to add some code to disable the ADC effectively, thus making >it non-suitable for the C64/5? >Also, does anyone have any suggestions about what kind of printer mech >and RTC (I2C) to use (only looking for simple graphics and text)? >-- >Clint Sharp ___________________________________________________________________ Get the Internet just the way you want it. Free software, free e-mail, and free Internet access for a month! Try Juno Web: http://dl.www.juno.com/dynoget/tagj.