ARM Technical Support Knowledge Articles

Can the Cortex-M3 handle 'dynamic' endian switching?

Applies to: Cortex-M3

Answer

There is no support in Cortex M3 for dynamic endian switching; the state of the BIGEND input determines the endianness of the core when the processor exits reset. Attempting to change the endianness later by controlling the BIGEND input from a register will therefore have no effect.

Alternate endianness can, however, be handled in software by use of REV, REV16 and REVSH instructions.

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential