|Home > armclang Command-line Options > -marm|
Requests that the compiler targets the A32 instruction set.
Most Arm®v7‑A (and earlier) processors support two instruction sets: the A32 instruction set (formerly ARM), and the T32 instruction set (formerly Thumb). Armv8‑A processors in AArch32 state continue to support these two instruction sets, but with additional instructions. Armv8‑A processors additionally introduce the A64 instruction set, used in AArch64 state.
Different architectures support different instruction sets:
-marmoption is not valid for targets in AArch64 state. The compiler ignores the
-marmoption and generates a warning when compiling for a target in AArch64 state.
The default for all targets that support A32 instructions is