Directives Reference
ARM DUI 0068B Copyright © 2000, 2001 ARM Limited. All r ights reserved. 7-65
7.7.16 NOFP
The
NOFP
directive disallows floating-point instructions in an assembly language source
file.
Syntax
NOFP
Usage
Use
NOFP
to ensure that no floating-point instructions are used in situations where there
is no support for floating-point instructions either in software or in target hardware.
If a floating-point instruction occurs after the
NOFP
directive, an
Unknown opcode
error is
generated and the assembly fails.
If a
NOFP
directive occurs after a floating-point instruction, the assembler generates the
error:
Too late to ban floating point instructions
and the assembly fails.
7.7.17 REQUIRE
The
REQUIRE
directive specifies a dependency between sections.
Syntax
REQUIRE label
where:
label
is the name of the required label.
Usage
Use
REQUIRE
to ensure that a related section is included, even if it is not directly called.
If the section containing the
REQUIRE
directive is included in a link, the linker also
includes the section containing the definition of the specified label.