4 space – ARM VERSION 1.2 User Manual
Page 299

Directives Reference
ARM DUI 0068B
Copyright © 2000, 2001 ARM Limited. All rights reserved.
7-17
7.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 on page 3-20).
Usage
You must use a
DATA
directive if you use
SPACE
to define labeled data within Thumb code.
See DATA on page 7-25 for more information.
Use the
ALIGN
directive to align any code following a
SPACE
directive. See ALIGN on
page 7-50 for more information.
See also:
•
•
•
•
Example
AREA MyData, DATA, READWRITE
data1 SPACE 255 ; defines 255 bytes of zeroed store