Download the Datasheet from Microchip website.

http://www.microchip.com/stellent/id...cName=en010236

Step 1.

Datasheet Register Section 11-2, ADCON1 Register, note Table for Bits 3:0.

Step 2.

Datasheet Register Secition 12-1, CMCON Register, see Table Figure 12-1.

Use this to configure for whatever I/O you need.