8 fn – ARM VERSION 1.2 User Manual

Page 294

Advertising
background image

Directives Reference

7-12

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

7.2.8

FN

The

FN

directive defines a name for a specified FPA floating-point register. The names

f0-f7 and F0-F7 are predefined.

Syntax

name FN expr

where:

name

is the name to be assigned to the floating-point register.

name

cannot be

the same as any of the predefined names listed in Predefined register and
coprocessor names
on page 3-9.

expr

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

Usage

Use

FN

to allocate convenient names to FPA floating-point registers, to help you to

remember what you use each one for.

Note

Avoid conflicting uses of the same register under different names.

Example

energy FN 6 ; defines energy as a symbol for
; floating-point register 6

Advertising