_ _BADRAM - Identify Unimplemented RAM
Note:badram
is preceded by two underline characters, with no space in between these characters. A space is added here for readibility only.
Syntax
_ _badram <expr>[-<expr>][, <expr>[-<expr>]]
Description
The
_ _maxram
and_ _badram
directives together flag accesses to unimplemented registers._ _badram
defines the locations of invalid RAM addresses. This directive is designed for use with the_ _maxram
directive. A_ _maxram
directive must proceed any_ _badram
directive. Each<expr>
must be less than or equal to the value specified by_ _maxram
. Once the_ _maxram
directive is used, strict RAM address checking is enabled, using the RAM map specified by_ _badram
. To specify a range of invalid locations, use the syntax<minloc>
-<maxloc>
.Example
See the example for
_ _maxram
.See Also
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |