详细的参数说明可以在A51.PDF上找到,另外前几天在C51BBS论坛上好像看到可以在源文件中直接定位,你可以去找找。
不过最后不要设定,编译器的定位一般都比较好。
QUESTION
Is there a way to use wildcards in the CODE and XDATA directives in the BL51 linker?
ANSWER
Yes. In C51 V6.01, wildcard support was added to BL51 for the segment location directives (CODE, XDATA, DATA, and so on). For example:
BL51 myfile.obj CODE (?pr?*?myfile (0x100))
in uVision2: Under the options for target, select the BL51 Locate tab and in the code section put this:
?pr?*?myfile (0x100)
locates all program segments (functions) found in the myfile.obj OMF file starting at address 0100h.
-------------------------------------------------------------------------------------