Directives Reference
7-24
Copyright © 2000, 2001 ARM Limited. All rights reserved.
ARM DUI 0068B
7.3.11
DCQ and DCQU
The
DCQ
directive allocates one or more 8-byte blocks of memory, aligned on 4-byte
boundaries, and defines the initial runtime contents of the memory.
DCQU
is the same, except that the memory alignment is arbitrary.
Syntax
{
label
} DCQ{U} {-}
literal
{,{-}
literal
}...
where:
literal
is a 64-bit numeric literal (see
Numeric literals
on page 3-21).
The range of numbers allowed is 0 to 2
64
– 1.
In addition to the characters normally allowed in a numeric literal, you
can prefix
literal
with a minus sign. In this case, the range of numbers
allowed is –2
63
to –1.
The result of specifying
-
n
is the same as the result of specifying 2
64
–
n
.
Usage
DCQ
inserts up to 3 bytes of padding before the first defined 8-byte block, if necessary,
to achieve 4-byte alignment.
Use
DCQU
if you do not require alignment.
See also:
•
DCB
on page 7-18
•
DCD and DCDU
on page 7-19
•
DCW and DCWU
on page 7-25
•
SPACE
on page 7-17.
Example
AREA MiscData, DATA, READWRITE
data DCQ -225,2_101 ; 2_101 means binary 101.
DCQU 4 ; number must already be defined.
Содержание 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 ...