Thanks for the help it makes things a lot easier. I will have to get a newer manual mine doesnt mention __config. Now thats sorted is there anyway of telling promate which processor is being used from within the compiled source. Also will PROMATE ever be linked into MPLAB like MPASM is ? Paul Waterfield Exhibit designer Techniquest Cardiff.