“<”是什么意思?和“>”在 MIPS 评论中?
我最近开始通过 MIPS 学习汇编,我注意到,由于某种原因,当在“文本”窗口中显示原始源代码时,QtSpim 会删除尖括号内的注释 和 内的任何内容:
[snip]
sll $0, $0, 0 # this text shows up in QtSpim
sll $0, $0, 0 # and this <but not this>
[snip]
这是一些注释注释吗我找不到任何关于 MIPS 本身的功能,或者它只是 QtSpim 中的一个奇怪的错误?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
嗯... # 是 MIPS 中开始注释的字符,因此该行中 # 后面的所有内容都应该被忽略。编辑可能有点困惑,没有正确处理评论。或者斜体可能只是一个不相关的原因......
Well... # is the character to start a comment in MIPS, so everything after the # on that line should be ignored. It's possible that the editor is getting a bit confused and not handling the comment correctly. Or maybe there's just an unrelated reason for the italics...
这是一条评论,需要阅读
关于您对该注释后面的行的注释是斜体的,我猜测这是语法突出显示中的某种错误。您是否尝试过简单地删除注释,或将注释更改为不包含小于号的内容?
That is a comment, to be read
With regards to your comment about the lines following this comment being italicized, I'm going to guess it's some sort of bug in the syntax highlighting. Have you tried simply removing the comment, or changing the comment to something that does not including the less than symbol?