The runtime library is built to take advantage of this. When the device is set up in this manner, the IAR C/C++ Compiler™ can generate more efficient code. This makes the device accept unaligned accesses. Let the application clear the 'UNALIGN_TRP' bit (or avoid setting the bit), in the Configuration and Control register.These are two different suggestions for avoiding exceptions: For other architectures, especially the ARMv6-M, see the heading ‘Other architectures’ below. This technical note applies to devices based on the ARMv6 (excluding ARMv6-M), ARMv7-M, and ARMv8-M architectures. This technical note describes actions to take when an unaligned access leads to a ‘Usage Fault’ or ‘Hard Fault’ exception.