5.9. Describing data structures with MAP and # directives

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

Data structures defined using MAP and #:

The MAP directive specifies the base address of the data structure. See ^ or MAP directive of the ARM Software Development Toolkit Reference Guide.

The # 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 # directive of the ARM Software Development Toolkit Reference Guide.

Note

No space in memory is allocated when a map is defined. Use Define Constant (DC) directives to allocate space in memory.

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D
Non-Confidential