- IAR Embedded Workbench for RL78 5.20
- IAR C/C++ Development
- The linker configuration file
- Using symbols, expressions, and numbers
- Numbers in linker configuration files
Numbers in linker configuration files
In this section:
Syntax
nr[nr-suffix]
where nr is either a decimal number or a hexadecimal number (0x... or 0X...).
and where nr-suffix is one of:
K /* Kilo = (1 << 10) 1024 */ M /* Mega = (1 << 20) 1048576 */ G /* Giga = (1 << 30) 1073741824 */ T /* Tera = (1 << 40) 1099511627776 */ P /* Peta = (1 << 50) 1125899906842624 */
Description
A number can be expressed either by normal C means or by suffixing it with a set of useful suffixes, which provides a compact way of specifying numbers.
Example
1024 is the same as 0x400, which is the same as 1K.