Fachat先生的xa
汇编程序在手册页中说:
#include "filename"
Inserts the contents of file filename at this position. If the file is not
found, it is searched using paths specified by the -I command line option or
the environment variable XAINPUT (q.v.). When inserted, the file will also be
parsed for preprocessor directives.
现在我无法弄清楚为什么这不起作用了:
$ cat test1.asm
#include "test2.asm"
$ cat test2.asm
rts
$ xa test1.asm
#include "test2.asm"
test1.asm:line 1: 1000:Syntax error
Break after 1 errors
文档错了吗?我做错了吗?
我正在使用xa v2.3.5,以防相关。
答案 0 :(得分:1)
因为尼克说这是错误导致的空白。
删除让程序编译。