I have read the data sheet and have set registers as below for 4550
TRISA = %00111111'An 0-4
TRISB = %00011111'An 8-12
TRISC = %00000000'All output
TRISD = %00000000'All output
TRISE = %00000111'An 5-7
ADCON1 = %00000000'A/D channel All
ADCON2 = %10000011'Right justify for 10 bit
INTCON2 = %10000000'Set to disable pullup on An 8-12?

I cannot disable the weak pullups on portb, can someone please show me how this is done, is pbaden involved?

Thanks