I have wrote a programm for 16f84a and 16f628a with crystal 4MHZ.
If i change the crystal to 20Mhz and define 4 to define 20 , will that works;