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:
•
DCB
on page 7-18
•
DCD and DCDU
on page 7-19
•
DCDO
on page 7-20
•
DCW and DCWU
on page 7-25.
Example
AREA MyData, DATA, READWRITE
data1 SPACE 255 ; defines 255 bytes of zeroed store
Содержание Developer Suite
Страница 10: ...Preface x Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 110: ...Assembler Reference 3 32 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 185: ...ARM Instruction Reference ARM DUI 0068B Copyright 2000 2001 ARM Limited All rights reserved 4 75 Example MSR CPSR_f r5 ...
Страница 238: ...Thumb Instruction Reference 5 44 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 282: ...Vector Floating point Programming 6 44 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 360: ...Index Index 6 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...