While making some changes to an existing program by adding a bunch of if/or comparison statements I received the warning (temp variables exceed T8). I needed to increase to T16 to get the program to compile without error. I know in time I should rewrite the program using Select Case but for now what pitfalls should I expect if any, by using it this way? Is there a reasonable limit to the number of Temp Variables I should use in a program? Calculating the time to save at 4 mhz I get 116 us.

At this point I'm only using TMR1_INT but will add at least INT_INT in time.

Thanks for any responses.



16f876, PBP2.50, MCSP, MPASM,MCloader