can you post as .asm? I copied and pasted this trying to compile as asm and it fails every time, 30 errors and 3 warnings. to start with its telling me wrong caracters(/). its telling me badopcomand (bit), and expected end, and over 100 lines? but I see no end. I dont know alot about this, but I tried and mplab cant compile your code. I would go to thier website and use a template then repost it and I will try agian.
**edit**
here are the results of your code, maybe it makes more since to you than me??
Warning[205] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 3 : Found directive in column 1. (__CONFIG)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 7 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 8 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 9 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 10 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 11 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 12 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 13 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 14 : Illegal opcode (bit)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 16 : Illegal opcode (int)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 17 : Illegal opcode (int)
Error[108] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 19 : Illegal character (/)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 20 : Illegal opcode (pause_1)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 21 : Illegal opcode (pause_2)
Error[108] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 23 : Illegal character (/)
Error[122] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 24 : Illegal opcode (main)
Error[108] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 25 : Illegal character ({)
Warning[207] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 27 : Found label after column 1. (TRISB)
Warning[207] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 28 : Found label after column 1. (PORTB)
Error[139] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 131 : Maximum of 100 lines inside WHILE-ENDW
Error[129] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 188 : Expected (ENDW)
Error[129] C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\RYANS CODE.TXT 189 : Expected (END)