📄 pic16cxxx-10.htm
字号:
1.Address exceeds maximum limit avaiable<br>
程序存储器地址溢出(超出)有效范围。<br>
2.Attempt to redefine reserved word<br>
MPASM中的保留字如"END"、"ERROR"、"HIGH"、"LOW"和"PAGE"被重定义,用户必须避免再将其用做标号或变量。<br>
3.Branch or jump out of range<br>
程序跳转指令如"GOTO"、"CALL"等超出规定的范围。<br>
4.Couldn't open…<br>
TMPASM 不能打开".OBJ"、".map"、".Hex"、".Err"、".Lst"或".ref"文件。一般是电脑已没有足够的磁盘空间。<br>
5.Couldn't open source file…<br>
汇编的源程序文件不存在。<br>
6.Duplicate lable or redefininy symbol that cannot be redefined<br>
标号或变量名重复定义。<br>
7.Error in parameter<br>
参数错误。<br>
8.Expected…<br>
源程序行有错。<br>
9.File not found<br>
指定的文件找不到。<br>
10.Illegal argument<br>
非法参数。<br>
11.Illegal condition<br>
IF语句中的条件符号出错。<br>
12.Illegal condition,EOF encountered before END or conditional end
directive<br>
IF、WHILE或MACRO语句中缺少相应的ENDIF、ENDW和ENDM。<br>
13.Illegal conditional compile<br>
IF/ELSE/ENDIF结构书写有错。<br>
14.Illegal character…in label…<br>
在标号字符中出现非法字符。合法的字符是"-"、"·"、"A"~"Z"、"a"~"z"、"0"~"9"。<br>
15.Illegal digit<br>
非法数字。如在十进制数中出现十六进制符等。<br>
16.Illegal opcode<br>
非法操作数。<br>
17.Include file not found<br>
Include 指令中的文件找不到。<br>
18.Include files nested too cleep<br>
Include 文件嵌套太多。Include 文件嵌套最多的为5重。<br>
19.Macro name missing<br>
缺少宏定义名称。<br>
20.Marco nested too deep<br>
宏体嵌套太多。宏体中最多可嵌套8重。<br>
21.Missing arguments<br>
缺少参数,如指令中缺少操作数等。<br>
22.Missing terminator<br>
缺少配对符,如各种括号")"、"〕"、"}"或"·"、空格等。
<br>
23.Nested forward reference not allowed.<br>
使用未定义的标号、变量、宏定义等。或者是MPASM不能确认标号的类型,一般由标号重复定义引起。<br>
24.Out of memory<br>
程序空间溢出。<br>
25.Overwriting previous address contents<br>
程序空间重复使用。一般由地址定义指令ORG定义不当引起。<br>
26.Processor type is undefined<br>
单片机芯片型号未定义。要么在源程序中未定义,要么在使用MPASM汇编时未定义。<br>
27.Processor type previously defined<br>
单片机芯片型号重复定义。<br>
28.Symbol table full<br>
符号表溢出。<br>
29.Temp file creation error<br>
MPASM在汇编过程中会使用一些临时性文件。这个错一般是电脑磁盘满或读写出错引起。<br>
30.Too many arguments<br>
参数太多,如指令操作符带过多的操作数。<br>
31.Undefined argument<br>
使用了未定义的参数。<br>
32.Unknow error<br>
MPASM碰到未知的错,这种情况一般很少发生。<br>
33.While failed to terminate within 256 iterationg<br>
While 语句中没有结束的条件产生。<br>
<br>
二、警告信息<br>
1.Addresses above 32K not currently supported. Using MaxRom.<br>
MPASM目前只允许源程序使用8000H(32K)以下的程序地址。将来可以增加到64K。<br>
2.Argument out of rauge,least significant bits used.<br>
参数超出所允许的范围值。MPASM一般会把超出的值自动截为认可的最大值。<br>
3.Crossing page boundary--ensure page blts are set<br>
MPASM通知你程序跨页面了,建议你确认相应的页面位是否已经设置了。<br>
4.…Is not currently supported<br>
使用了MPASM尚未支持的指令。<br>
5.…Not a single byte quantity<br>
使用了超出8位的数值。<br>
6.This number is being treated as a binary representation<br>
MPASM碰到不知是二进制或十六进制的值,如b 0101。这时MPASM都会把它当做二进制处理。上例如果要表示16进制,应写成ox
b0101或H'b0101'。<br>
<br>
§4.5 使用MPASM来汇编PIC12C5XX的问题<br>
<br>
如果用户手中的MPASM版本是97年前的老版本,则在Processor Type中寻不到PIC12C508/509,怎么办?不要紧,因为PIC12C5XX和PIC16C5X的指令是完全一样的。所以如果手中的MPASM是老版本,可以用如下方法来操作:</p>
<p><img src="image/d22.gif" width="262" height="97" hspace="30"></p>
<p><a href="PIC16Cxxx-1.htm">第一章</a> <a href="PIC16Cxxx-2.htm">第二章</a>
<a href="PIC16Cxxx-3.htm">第三章</a> <a href="PIC16Cxxx-4.htm">第四章</a>
<a href="PIC16Cxxx-5.htm">第五章</a> <a href="PIC16Cxxx-6.htm">第六章</a>
<a href="PIC16Cxxx-7.htm">第七章</a> <a href="PIC16Cxxx-8.htm">第八章</a>
<a href="PIC16Cxxx-9.htm">第九章</a> <a href="PIC16Cxxx-10.htm">第十章</a></p></td>
</tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"> </td>
<td> </td>
</tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#990000">
<td height="1" width="634"></td>
</tr>
<tr align="right">
<td height="6"></td>
</tr>
<tr align="right">
<td><font color="#990000" size="2">[ <a href="index.htm">返回</a> ]</font>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -