|Non-Confidential||PDF version||ARM DUI0471M|
|Home > Key Features of ARM Architecture Versions > ARM architecture v6-M|
ARMv6-M is a variant of the ARMv6 architecture targeted at the microcontroller profile. It supports the Thumb instruction set only.
The following table shows useful command-line options.
Table 1-6 Useful command-line options for ARMv6-M
||ARMv6 microcontroller profile with Thumb only (no ARM instructions), and processor state instructions|
||ARMv6 microcontroller profile with Thumb only (no ARM instructions), plus processor state instructions and OS extensions|
Key features for ARMv6-M:
The compiler can generate instructions available on this architecture.
By default, the compiler uses ARMv6 unaligned access support
to speed up access to packed structures, by allowing
to load from and store to words that are not aligned on natural
Unaligned data accesses are converted into two or three aligned accesses, depending on the size and alignment of the unaligned access. This stalls any subsequent accesses until the unaligned access has completed. You can control alignment by using the DCode and System bus interfaces.
You can produce either little-endian or big-endian code using
the compiler command-line options
ARMv6-M supports the following endian modes: