You copied the Doc URL to your clipboard.

--compatible=name

Generates code that is compatible with multiple target architectures or processors.

Syntax

--compatible=name

Where name is the name of a target processor or architecture, or NONE.

Usage

When you specify a processor or architecture name using --compatible, valid values of name for both the --cpu and --compatible options are restricted to those shown in the following table and must not be from the same group:

Table 9-1 Compatible processor or architecture combinations

Group 1 ARM7TDMI, 4T
Group 2 Cortex™-M0, Cortex-M1, Cortex-M3, Cortex-M4, 7-M, 6-M, 6S-M, SC300, SC000

Specify --compatible=NONE to turn off all previous instances of the option on the command line.

Example

armasm --cpu=arm7tdmi --compatible=cortex-m3 inputfile.s

Related reference

Was this page helpful? Yes No