2.10. Describing data structures with MAP and FIELD directives

You can use the MAP and FIELD directives to describe data structures. These directives are always used together.

Data structures defined using MAP and FIELD:

The MAP directive specifies the base address of the data structure. See MAP for more information.

The FIELD directive specifies the amount of memory required for a data item, and can give the data item a label. It is repeated for each data item in the structure. See FIELD for more information.

Note

No space in memory is allocated when a map is defined. Use define constant directives (for example, DCD) to allocate space in memory.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0231B
Non-Confidential