10.76 #pragma arm

This pragma switches code generation to the ARM instruction set. It overrides the --thumb compiler option.

Usage

Use #pragma push and #pragma pop on #pragma arm or #pragma thumb outside of functions, but not inside of them, to change state. This is because #pragma arm and #pragma thumb only apply at the function level. Instead, put them around the function definition.

Related reference
10.96 #pragma pop
10.97 #pragma push
10.99 #pragma thumb
8.7 --arm
8.177 --thumb
Non-Confidential PDF file icon PDF version ARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.