--- John Temples wrote: > If I run this code: > > void main(void) > { > ADCON1 = 0x07; > TRISE = 0x00; > PORTE = 0x02; > RE2 = 1; > } > > compiled with PICC in MPLAB 6.22 with the simulator > enabled and > configured as a 16F877, I see the expected results, > i.e., bits 1 and 2 > are set in PORTE. > FYI, the above code works for me too (of course after adding #include ). __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu