I am new to the 16f913, can somebody help me with the hardware setup i want to use the first 4 pins on port a as analog inputs, the first 4 inputs on portb as digital inputs portb6 and 7 for the ICD2, the first 4 of port c as digital outputs and port c 6 and 7 for serial comunications.

Do anyone have a way to do this setup fast on diferent micro's?