Quote Originally Posted by turkuaz View Post

TRISE.0 = 0
TRISE.1 = 0
TRISE.2 = 0
Use instead
Code:
TRSIE = 0
PIC18F452 has a parallel port (PMP) similar to a microprocessor bus which uses the TRISE register for the configuration and the PORTE as the control line for the PORTD (PMP) read write. Other bits (7 to 4) are used to configure this.

Hope this helps