9.73 #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
9.92 #pragma pop
9.93 #pragma push
9.95 #pragma thumb
7.7 --arm
7.149 --thumb
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.