5.8.36. FN directive

The FN directive defines a name for a specified floating-point register. The names f0-f7 and F0-F7 are predefined.

Syntax

The syntax of FN is:

name FN numeric-expression

where:

name

is the name to be assigned to the floating-pointregister. name cannot be the same as any of the predefined names listed in Predefined register and coprocessor names.

numeric-expression

evaluates to a floating-point register number from 0 to 7.

Usage

Use FN to allocate convenient names to floating-point registers, to help you to remember what you use each one for. Be careful to avoid conflicting uses of the same register under different names.

Example

energy			FN 	6			; defines energy as a symbol for 
							; floating-point register 6
Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0041C
Non-Confidential