In a linker command file, all symbol names must start with the underscore character (_). The other characters can be letters, digits, or underscores. These valid lines for an LCF assign values to two symbols:
_dec_num = 99999999;
_hex_num_ = 0x9011276;
Use the standard assignment operator to create global symbols and assign their addresses, according to the pattern:
_symbolicname = some_expression;
When the system evaluates an expression and assigns it to a variable, the expression receives the type value absolute or a relocatable:
LCF syntax for expressions is very similar to the syntax of the C programming language:
_octal_number = 01374522;
_octal_number2 = 032405;
_dec_num = 99999999;
_decimal_number = 123245;
_decvalfour = 9011276;
_hex_number = 0x999999FF;
_firstfactorspace = 0X123245EE;
_fifthhexval = 0xFFEE;
_decimal_number = -123456;