first
 i dont know why you post this here ?? :eek: 
what do you expect people here to do about it for you??? :confused:  
you need to talk to labcenter and point out there bug :p  
proteus is full of bugs :rolleyes:  
try this   
init all ports as digital on pic877 
{any micro they make models for ive tried} 
now just use a  
for(;

{
} 
what i refer to as a static init   
{
and this is usefull to scan the ports pins to aid in security 
then reinit to run state mode a handy thing when developing secure micros 
over and above the code security
{ie if you pull the chip out it wont ever run till its put back in circuit etc etc and if you remove and boot it it remembers this and disables its self for ever }
}   
becouse it sits and does nothing  
but you would expect that all pins of the micro should just be low  
this is the case with mplab / picsimulator ide / virtual breadboard 
and infact any other simulator i tried  
even electronics workbench worked :cool:  
and all pins are pulled low as you would expect 
as does the real chip 
and this is the correct behaviour 
but not proteus oh no and in there infinite wisdom 
they told me i was wrong !!!! and " i didnt know what i was talking about" 
so i pointed out that the real chip also does this correctly  
now they dont answer my mail and banned me from there user site
despite the fact i spent my hard erned wedge buying there app and my valuble time developing such models as com / sldvdd and many other dlls and over 1500 libs and parts 
so what is the point in moaning about it here?
 
 just use mplab or better buy a copy of picsimuator ide {about 30 euros or so} 
it works perfectly and its a cheep one off fee for unlimited updates {please dont crack this app  and  support the guy  he is just one  guy  !!! dont use cracked version please}  
its a little tedious at first to use but its a pleasure once you learn its interface
but it does work perfectly and performs all the tests i used with it 
and the guy who writes it lives in a war ravaged country 
that is just starting to get on its feet 
personaly i would rather give him the cash !!!  
your just pointing out what many people already realised from v5 till now 
only after they splash there cash out every year and get stung up the ass
and abused by this english company  
eventualy some big company will sue them or take them over 
what i am really trying to say is there programming staff are arrigent selfritious cretins 
no wonder people crack there software !!!  
becouse there lack of ears for listening to there paying customers 
is  
1} frustrating
2} inept 
3} cheeky 
4} greedy like holding a steak infront of your nose then you find it has a bug crawl out of it
5} stupid ! 
they are too busy adding payloads to its engines to stop hacks 
when really there marketing is all wrong 
to the point that there company is becoming discredible in the right circles  
so it wont be long now ..... till they go under or get bought out 
what payloads really means is PAY LOADS !!! 
to get a half baked app full of bugs flaws and holes 
i have found over 50 bugs  reported them all and 39 are still there !!!
 five years, 75 service paks, and £400 of my quids  later ! 
when a simple test fails its really annoying 
and i sympathise with youand others  fully  
especialy when a $40 app does exactly what you need in the first place  
so dont moan about it here 
complain to them 
 
 they arent referred to in circles  as 'laviacenter' for nothing you know !  
in fairness it did pass the flash an led test hehe 
 
     just for info to add a little fun into life.... ^^^^ 
right now at the moment i am deciding if i should sue them myself for theft of intelectual propertiesALL my parts libs and models carry an ident secret marking vsmlibs very small and hidden  i have found my labels in there standard librarys proving they reused my copyrighted parts models and designsand sell them as there own