嗨,AllI,我把我的旧代码从18F2620变为18F26K20,但是得到一个错误:这是我在2620中使用的:下面两种方式都会产生错误(14:由命令行取代的处理器)。验证处理器符号。“”:P18F26K22.C文件说:2。列表指令在源文件中;列表p=PIC18F26K20,但也给出相同的错误。我使用MPLAB IDE 8.92、MPASMWIN .EXE V5.51、MPLIKIN .EXE 4.49、MPLBI.EXE 4.49谢谢,达利斯
以上来自于百度翻译
以下为原文
Hi All
I am changing some of my old code from a 18F2620 to a 18F26K20 but get an error:
"14 : Processor superseded by command line. Verify processor symbol."
This is what I used on the 2620:
LIST P=18F2620,r=hex,n=80,x=off,st=off
Both ways below give an error ("14 : Processor superseded by command line. Verify processor symbol.") :
LIST P=18F26K20,r=hex,n=80,x=off,st=off
;or
LIST P=P18F26K20,r=hex,n=80,x=off,st=off
; give the same error
The p18f26k22.inc file say:
; 2. LIST directive in the source file
; LIST P=PIC18F26K20
But that also give the same error.
I use MPLAB IDE 8.92, mpasmwin.exe v5.51, mplink.exe 4.49, mplib.exe 4.49
Thanks,
Darius