• Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12079 from 2003/5/22
    From: Germany
    > AFAIK most ARM CPU's are bi-endian. At least I think that's the case with ARMv7/Cortex

    After half a decade of assumptions, speculation and guesswork here on MorphZone, I think I found the definite answer on the question of ARM's endianness using these references:

    http://translatedcode.wordpress.com/2012/04/02/this-end-up/
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0203g/Chddgffb.html

    The gist of it is that ARM knows one little-endian mode (on both data and code level, aka true little-endian) and two big-endian modes: BE32 and BE8. BE32 is big endianness on both data and code level (aka true big-endian), whereas BE8 is data-only big endianness.

    BE32 is supported by:
    - ARMv4
    - ARMv5
    - ARMv6

    BE8 is supported by:
    - ARMv6
    - ARMv7
    - ARMv8
  • »21.02.14 - 14:21
    Profile