i just buy a PIC18f45k22 using a microcode@PBP programmer to load my hex to my pic. But im having a problem with my compiler with is a MPASM . Here is the erro generated by the compiler as i drag and drop the alter.asm file




Error[132] c:\pbp\18f45k22.inc 18 : Unknown Processor(18f45k22)
messange[301] c:\progra~1\microc~1\mpasm~1\p18f45k22.inc 33 : MESSAGE: (Processor-header file mismatch. Verify selected processor.)
Error[131] c:\pbp\18f45k22.inc 20: processor type is undefined
Error[131] c:\pbp\18f45k22.inc 21: processor type is undefined
Error[131] c:\pbp\18f45k22.inc 22: processor type is undefined
Warning[207] c:\pbp\pbppic18.lib 1237 : Found label column 1.(goto)
Error[122] c:\pbp\pbppic18.lib 1237 : Illigal opcode (INIT)
Error[122] c:\pbp\pbppic18.lib 3906 : Illigal opcode (movff)
Warning[207] c:\pbp\pbppic18.lib 3907 : Found label after column 1.(movf)
Error[122] c:\pbp\pbppic18.lib 3907 : Illigal opcode (RR1)
Warning[207] c:\pbp\pbppic18.lib 3908 : Found label after column 1.(addlw)
Error[122] c:\pbp\pbppic18.lib 3908 : Illigal character (1)
Warning[207] c:\pbp\pbppic18.lib 3909 : Found label after column 1.(movwf)
Error[122] c:\pbp\pbppic18.lib 3909 : Illigal opcode (FSR0L)
Warning[207] c:\pbp\pbppic18.lib 3910 : Found label after column 1.(comf)
Error[122] c:\pbp\pbppic18.lib 3910 : Illigal opcode (RM1)
Warning[207] c:\pbp\pbppic18.lib 3911 : Found label after column 1.(andwf)
Error[122] c:\pbp\pbppic18.lib 3911 : Illigal opcode (INDF0)
Warning[207] c:\pbp\pbppic18.lib 3912 : Found label after column 1.(decf)
Error[122] c:\pbp\pbppic18.lib 3912 : Illigal opcode (R0)
too many errors

Can anybody help me in solving the header file problem...thx