You copied the Doc URL to your clipboard.
This option sets the target CPU. Some instructions produce either errors or warnings if assembled for the wrong target CPU.
Valid values for
are
architecture names such as name
4T
, 5TE
,
or 6T2
, or part numbers such as ARM7TDMI
®.
The default is ARM7TDMI
.
Note
ARMv7 is not a recognized ARM architecture. Using --cpu=7
generates
only Thumb instructions that are common in the ARMv7-A, ARMv7-R,
and ARMv7-M architectures.
When you specify an alternative processor or architecture
name using --compatible
, valid values of
for
both the name
--cpu
and --compatible
options
are restricted to those shown in Table 1.