Assembly 为什么在使用nasm编译汇编代码时会出现这种奇怪的错误?

Assembly 为什么在使用nasm编译汇编代码时会出现这种奇怪的错误?,assembly,nasm,Assembly,Nasm,测试平台是Linux 32位 我用 要组装代码,它将生成以下错误: final.s:40454: error: (at:1) `%$strucname': context stack is empty final.s:40454: error: (at:1) `%$strucstart': context stack is empty final.s:40454: error: (at:1) `%$strucname': context stack is empty final.s:40454:

测试平台是Linux 32位

我用

要组装代码,它将生成以下错误:

final.s:40454: error: (at:1) `%$strucname': context stack is empty
final.s:40454: error: (at:1) `%$strucstart': context stack is empty
final.s:40454: error: (at:1) `%$strucname': context stack is empty
final.s:40454: error: (at:1) `%$strucstart': context stack is empty
final.s:40454: error: expecting `)'
final.s:40454: error: label or instruction expected at start of line
这是我代码的一部分:

40451
40452 byte_4092CA     db 89h, 0FFh
40453 off_415E82      dd $LN119
40454 aT              db 'T',0
40454是我代码的最后一行

我没有看到这种错误,在快速搜索之后,我找不到任何有用的东西

谁能给我一些帮助吗?谢谢大家!

--------------更新--------------

我试图将这一行代码放到其他地方,但出现了相同的错误…,这意味着这不是最后一行的问题。显然,当你把Nasm作为一个符号使用时,它(非常!)困惑。我以为我很了解Nasm,但这对我来说是新的!只需调用您的变量—在处的\u似乎可以工作

40451
40452 byte_4092CA     db 89h, 0FFh
40453 off_415E82      dd $LN119
40454 aT              db 'T',0