dummy = PORTA
What do you mean by this?



Also we are trying to make the button, when pressesd, toggle between two subroutines, Exe: one press is the first one, then when you press it again it will go to the next program.

ps: yes we are using the internal oscillator