完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
这是源程序。
ORG 0000H NOP ST: MOVLW 0X00 MOVWF TBLPTRL MOVLW 0X04 MOVWF TBLPTRH MOVLW A'G' MOVWF TABLAT TBLWT*+ MOVLW A'O' MOVWF TABLAT TBLWT*+ MOVLW A'O' MOVWF TABLAT TBLWT*+ MOVLW A'D' MOVWF TABLAT TBLWT*+ MOVLW A' ' MOVWF TABLAT TBLWT*+ MOVLW A'B' MOVWF TABLAT TBLWT*+ MOVLW A'Y' MOVWF TABLAT TBLWT*+ MOVLW A'E' MOVWF TABLAT TBLWT*+ MOVLW 0X00 MOVWF TBLPTRL MOVLW 0X04 MOVWF TBLPTRH BSF EECON1,EEPGD BCF EECON1,CFGS BSF EECON1,WREN BCF INTCON,GIE MOVLW 55H MOVWF EECON2 MOVLW 0AAH MOVWF EECON2 BSF EECON1,WR NOP BSF INTCON,GIE BCF EECON1,WREN END 然后报错是 ---------------------------------------------------------------------- Debug build of project `E:PICwrite_flashflash.mcp' started. Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35 Preprocessor symbol `__DEBUG' is defined. Sun May 12 21:23:55 2013 ---------------------------------------------------------------------- Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:Program Files (x86)MicrochipMPASM SuiteMPASMWIN.exe" /q /p18F452 "flash.asm" /l"flash.lst" /e"flash.err" /o"flash.o" /d__DEBUG=1 Error[113] E:PICWRITE_FLASHFLASH.ASM 6 : Symbol not previously defined (TBLPTRL) Error[113] E:PICWRITE_FLASHFLASH.ASM 8 : Symbol not previously defined (TBLPTRH) Error[113] E:PICWRITE_FLASHFLASH.ASM 10 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 13 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 16 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 19 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 22 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 25 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 28 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 31 : Symbol not previously defined (TABLAT) Error[113] E:PICWRITE_FLASHFLASH.ASM 34 : Symbol not previously defined (TBLPTRL) Error[113] E:PICWRITE_FLASHFLASH.ASM 36 : Symbol not previously defined (TBLPTRH) Error[113] E:PICWRITE_FLASHFLASH.ASM 37 : Symbol not previously defined (EEPGD) Error[113] E:PICWRITE_FLASHFLASH.ASM 37 : Symbol not previously defined (EECON1) Error[113] E:PICWRITE_FLASHFLASH.ASM 38 : Symbol not previously defined (CFGS) Error[113] E:PICWRITE_FLASHFLASH.ASM 38 : Symbol not previously defined (EECON1) Error[113] E:PICWRITE_FLASHFLASH.ASM 39 : Symbol not previously defined (WREN) Error[113] E:PICWRITE_FLASHFLASH.ASM 39 : Symbol not previously defined (EECON1) Error[113] E:PICWRITE_FLASHFLASH.ASM 40 : Symbol not previously defined (GIE) Error[113] E:PICWRITE_FLASHFLASH.ASM 40 : Symbol not previously defined (INTCON) Error[113] E:PICWRITE_FLASHFLASH.ASM 42 : Symbol not previously defined (EECON2) Error[113] E:PICWRITE_FLASHFLASH.ASM 44 : Symbol not previously defined (EECON2) Error[113] E:PICWRITE_FLASHFLASH.ASM 45 : Symbol not previously defined (WR) Error[113] E:PICWRITE_FLASHFLASH.ASM 45 : Symbol not previously defined (EECON1) Error[113] E:PICWRITE_FLASHFLASH.ASM 47 : Symbol not previously defined (GIE) Error[113] E:PICWRITE_FLASHFLASH.ASM 47 : Symbol not previously defined (INTCON) Error[113] E:PICWRITE_FLASHFLASH.ASM 48 : Symbol not previously defined (WREN) Error[113] E:PICWRITE_FLASHFLASH.ASM 48 : Symbol not previously defined (EECON1) Warning[205] E:PICWRITE_FLASHFLASH.ASM 49 : Found directive in column 1. (END) Halting build on first failure as requested. ---------------------------------------------------------------------- Debug build of project `E:PICwrite_flashflash.mcp' failed. Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35 Preprocessor symbol `__DEBUG' is defined. Sun May 12 21:23:57 2013 ---------------------------------------------------------------------- BUILD FAILED |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
求解外围电路实现的是4脚给持续低电平复位并正常工作,高电平不工作的原因
2012 浏览 1 评论
3140 浏览 3 评论
PIC1946程序有一个变量在运行过程中恢复初始值其他变量保持不变
2253 浏览 2 评论
2680 浏览 0 评论
PIC16F1825的RC5引脚,在主程序中操作无效,在中断中可以改变是为什么?
3880 浏览 5 评论
788浏览 0评论
用XC8编译PIC18F25K80时提示下面Error,求怎么解决这个问题
6219浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-26 13:13 , Processed in 0.512566 second(s), Total 74, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191