⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pic16cxxx-10.htm

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -