空Region
このセクションの内容:
構文
[ ]
説明
空Regionには、メモリ範囲は含まれません。空Regionが、1つ以上のセクションの配置のために実際に使用される配置ディレクティブで使用される場合、ILINKではエラーが発生します。
例
define region
Code = [from 0 size 0x10000];
if (Banked) {
define region Bank = [from 0x8000 size 0x1000];
} else {
define region Bank = [];
}
define region NonBanked = Code - Bank;
/* Depending on the Banked symbol, the NonBanked region is either one range
with 0x10000 bytes, or two ranges with 0x8000 and 0x7000 bytes, respectively.
*/