简体   繁体   English

程序不适用于 IAR EW for msp430

[英]Program not working for IAR EW for msp430

the #include isnt blue like it is in my lab manual for my class. #include 不像我班级的实验手册中那样是蓝色的。 I dont know if this is the issue or not.我不知道这是否是问题所在。 I have just installed the software according to the dirrections and restarted 3 times and I havent found any answers online enter image description here我刚刚按照说明安装了软件并重新启动了 3 次,但我还没有在网上找到任何答案在这里输入图片描述

The format of an Assembly source line for the IAR Assembler is as follows: IAR 汇编程序的汇编源代码行格式如下:

[label [:]] [operation] [operands] [; comment ]

where the components are as follows:其中组件如下:

  • label : A definition of a label, which is a symbol that represents an address. label : 标签的定义,是一个代表地址的符号。 If the label starts in the first column - that is, at the far left on the line.如果标签从第一列开始 - 即在该行的最左侧。 The : (colon) is optional. :冒号)是可选的。
  • operation : An assembler instruction or directive. operation :汇编程序指令或指令。 This must not start in the first column - there must be at least one这不能从第一列开始 - 必须至少有一个 (whitespace) or a (TAB) character prior it. (空格)或它前面的 (TAB) 字符。
  • operands : An assembler instruction or directive can have from zero up to several operands.操作数:汇编程序指令或指令可以有从零到多个操作数。 The operands are separated by , (commas) or操作数由, (逗号)或 (whitespaces). (空格)。
  • comment : Comment, preceded by a ; comment : 评论,前面有一个; (semicolon) -or- by a C/C++ comment styles ( /*... */ or // ). (分号) - 或 - 通过 C/C++ 注释样式( /*... */// )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM