3.1.4. CPU names

There is an option to specify the CPU name:

--cpu name

Sets the target CPU. Some instructions produce either errors or warnings if assembled for the wrong target CPU (see also Controlling the output of diagnostic messages).

Valid values for name are architecture names such as 4T, 5TE, or 6T2, or part numbers such as ARM7TDMI. See ARM Architecture Reference Manual for information about the architectures. The default is ARM7TDMI®.

See RealView Compilation Tools v2.2 Compiler and Libraries Guide for details of the effect on software library selection at link time.

Obtaining a list of valid CPU names

You can obtain a list of valid CPU names by invoking the assembler with the following command:


armasm --cpu list

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0204F
Non-Confidential