5.8.56. NOFP directive

The NOFP directive disallows floating-point instructions in an assembly language source file.

Syntax

The syntax of NOFP is:

NOFP

Usage

Use NOFP to ensure that no floating-pointinstructions 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.

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0041C
Non-Confidential