The syntax for linker command file expressions is very similar to the syntax of the C programming language. All integer types are long or unsigned long.
Octal integers (commonly know as base eight integers) are specified with a leading zero, followed by numeral in the range of zero through seven. The following listing shows valid octal patterns that you can put into your linker command file.
_octal_number = 012; _octal_number2 = 03245;
Decimal integers are specified as a non-zero numeral, followed by numerals in the range of zero through nine. To create a negative integer, use the minus sign (-) in front of the number. The following listing shows examples of valid decimal integers that you can write into your linker command file.
_dec_num = 9999; _decimalNumber = -1234;
Hexadecimal (base sixteen) integers are specified as 0x or 0X (a zero with an X), followed by numerals in the range of zero through nine, and/or characters A through F. Examples of valid hexadecimal integers that you can put in your linker command file appear in the following listing.
_somenumber = 0x0F21; _fudgefactorspace = 0XF00D; _hexonyou = 0xcafe;