Tyler - 2013-02-06

Hello I have written some code for a PIC12F683 device. The code is to drive a servo motor towards the left, right, or center depending on the states of two inputs.  The code compiles without error using   GCGB V.09.  but when I import the .asm file into MPLAB V8.66 the .ams fails to build and I get the following errors

Error[113]   C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\FIRMWARE\TEST.ASM 59 : Symbol not previously defined (DelayTemp)
Error[113]   C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\FIRMWARE\TEST.ASM 80 : Symbol not previously defined (DelayTemp)

If I open the .asm file and change DelayTemp to DELAYTEMP the code compiles and runs as expected.  this capitalization error seems to be linked to the timer prescaler and or clock speed because if I change the clock and prescaler values sometime I can get a combination that works.  But I can't find a compilable combination that provides a 20ms interrupt to drive the servo.here is the code

;Chip Settings
#chip 12F683,8
#config CPD=OFF, MCLRE=OFF, WDT=OFF, OSC=INTOSCIO
;Defines (Constants)
#define Servo1 GPIO.0
#define Servo2 GPIO.1
#define Servo3 GPIO.2
#define L_eye GPIO.5
#define R_eye GPIO.3
;Variables
Dim servo_pos1 As byte
Dim servo_pos2 As byte
Dim servo_pos3 As byte
;Interrupt Handlers
On Interrupt Timer0overflow Call ServoHandler
Dir Servo1 Out
Dir Servo2 Out
Dir Servo3 Out
Dir GPIO.3 In
Dir GPIO.5 In
InitTimer0 Osc, PS0_1/256
Main:
If L_eye = On And R_eye = Off Then
    If servo_pos2 >= 75 Then
        servo_pos2 = servo_pos2 - 1
    End If
    Wait 75 ms
End If
If L_eye = Off And R_eye = Off Then
    If servo_pos2 < 150 Then
        servo_pos2 = servo_pos2 +1
    End If
    If servo_pos2 > 150 Then
        servo_pos2 = servo_pos2 -1
    End If
    Wait 75 ms
End If
If L_eye = Off And R_eye = On Then
    If servo_pos2 <= 225 Then
        servo_pos2 = servo_pos2 + 1
    End If
    Wait 75 ms
End If
goto main
Sub ServoHandler
    Timer0 = 100
    PulseOut Servo1, servo_pos1 10us
    PulseOut Servo2, servo_pos2 10us
    PulseOut Servo3, servo_pos3 10us
End Sub

Thank you
Tyler