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.
晚上好,我是一名新程序员,正在尝试使用 pdp-11 模拟器在汇编中编译以下代码。但是我有错误堆栈,我确定语法但无法定义错误在哪里或要更改什么。编码 :
movb @#tkb, r0 bic #177600, r0 cmpb #’$, r0 beq seton
错误描述:“cmpb #'$, r0”行的“错误 8-非法字符”。
有谁知道这是为什么?我应该怎么写?关键是当我得到'$ char时停止循环。