You copied the Doc URL to your clipboard.

--compatible=name

This option specifies a second processor or architecture, name, for which the assembler generates compatible code.

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 Table 1 and must not be from the same group.

Table 1. Compatible processor or architecture combinations
Group 1ARM7TDMI, 4T
Group 2Cortex-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

See also

Was this page helpful? Yes No