Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是汇编语言的初学者,我一直陷入这个问题
汇编程序告诉我 JE 需要一个表达式,但它已经存在:
这是我的代码
ag:cmp Byte PTR [Di],"$" JE DONE: cmp Byte PTR [Si], "$" JE DONE:
问题在于“完成”之后的“:”。':' 之前的文本被视为标签,因此 JE 指令找不到目标标签。
在 DONE 之后删除 ':' 以解决问题。