6.3.4. SPACE

The SPACE directive reserves a zeroed block of memory. % is a synonym for SPACE.

Syntax

{label} SPACE expr

where:

expr

evaluates to the number of zeroed bytes to reserve (see Numeric expressions).

Usage

Use the ALIGN directive to align any code following a SPACE directive. See ALIGN for more information.

See also:

Example

        AREA    MyData, DATA, READWRITE
data1   SPACE   255     ; defines 255 bytes of zeroed store
Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0204F
Non-Confidential