5.8.15. CN directive

The CN directive defines a name for a coprocessor register.

Syntax

The syntax of CN is:

name CN numeric-expression

where:

name

is the name to be defined for the coprocessor register.

numeric-expression

evaluates to a coprocessor register number from0 to 15.

Usage

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

The names c0 to c15 are predefined.

Example

power 			CN 	6		; defines power as a symbol for 
						; coprocessor register 6
Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0041C
Non-Confidential