Download VisualDSP++® 5.0 Assembler and Preprocessor
Transcript
Assembler Syntax Reference .REFERENCE, Provide Better Info in an X-REF File Used with Blackfin processors only. L The directive is used by the compiler to provide better .REFERENCE information in an X-REF file generated by the linker. This directive is used when there are indirect symbol references that would otherwise not appear in an X-REF file. The .REFERENCE directive uses the following syntax: .REFERENCE symbol; where: symbol – is a symbol Example: .REFERENCE P1; .REFERENCE P2; .RETAIN_NAME, Stop Linker from Eliminating Symbol The .RETAIN_NAME directive stops the linker from eliminating the symbol when linking the generated object file. This directive has the same effect as the KEEP() LDF command has when used with the linker. Syntax: The .RETAIN_NAME directive uses the following syntax: .RETAIN_NAME symbol; where: symbol 1-118 – is a user-defined symbol VisualDSP++ 5.0 Assembler and Preprocessor Manual