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.
我有一些 x86 汇编代码,在 MASM32 6.14.8444 下编译(准确地说),有一行代码给我带来了一些问题:
semicolon equ ";"
如您所见,我只是试图分配文本“;” 到一个名为“分号”的变量,但我收到此错误:
error A2046: missing single or double quotation mark in string
我猜这是因为程序集将分号作为注释的开头。在这种情况下,如何转义字符串常量中的分号?
这编译
semicolon equ 0x3b