求助本人刚开始学习单片机,做实验出现如下情况
本人刚开始学习单片机,做实验出现如下情况:
Warning[205] F:\MYPIC\EE.ASM 1 : Found directive in column 1. (LIST)
Warning[207] F:\MYPIC\EE.ASM 2 : Found label after column 1. (status)
Warning[207] F:\MYPIC\EE.ASM 3 : Found label after column 1. (trisd)
Warning[207] F:\MYPIC\EE.ASM 4 : Found label after column 1. (portd)
我怀疑是下载的MPLAB IDE V8.92不完整,缺少头文件。怎么办?谢谢专家。
Debug build of project `F:\MYPIC\ff.mcp' started.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Preprocessor symbol `__DEBUG' is defined.
Mon Jul 24 17:16:55 2017
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "F:\MYPIC\ff.mcs".
Clean: Done.
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A "ff.asm" /l"ff.lst" /e"ff.err" /d__DEBUG=1
Error[105] F:\MYPIC\FF.ASM 2 : Cannot open file (Include File "PIC16F877A.INC" not found)
Error[113] F:\MYPIC\FF.ASM 5 : Symbol not previously defined (STATUS)
Error[113] F:\MYPIC\FF.ASM 6 : Symbol not previously defined (TRISD)
Error[113] F:\MYPIC\FF.ASM 7 : Symbol not previously defined (STATUS)
Error[113] F:\MYPIC\FF.ASM 8 : Symbol not previously defined (PORTD)
Error[113] F:\MYPIC\FF.ASM 9 : Symbol not previously defined (PORTD)
Error[113] F:\MYPIC\FF.ASM 10 : Symbol not previously defined (PORTD)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `F:\MYPIC\ff.mcp' failed.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Preprocessor symbol `__DEBUG' is defined.
Mon Jul 24 17:17:03 2017
----------------------------------------------------------------------
BUILD FAILED
请大神看看怎么回事?
Error[105] F:\MYPIC\FF.ASM 2 : Cannot open file (Include File "PIC16F877A.INC" not found)
这个文件没找到,先把这个解决了吧,通常都会有一些连带错误,比如一个文件没找到,与该文件相关的就都会报错了 。