trisb=0
portb=0
aa var byte
bb var byte

eeprom 2,[0]
aa=4

write 2, aa
read 2, bb

if bb==4 then
portb.0=1
endif

I tried 16f84a it function, the LED at portb.0 lights up..
but in 16f877a, the LED did not light...
what happen to this situation?
is there a need to disable interrupts?
with that simple program....

HELP US PLS....
thnx....