【发布时间】:2014-03-24 07:10:57
【问题描述】:
测试平台为 Linux 32 位。
我用
nasm -f elf final.s
组装代码,它会产生这些错误:
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 是我的代码的最后一行。
我没有看到这种错误,在快速谷歌之后,我找不到任何有用的东西。
谁能给我一些帮助?谢谢!
--------------更新--------------
我试图将这行代码放到其他地方,但同样的错误...,这意味着它不是 最后一行
【问题讨论】: