Well ARM is a bit screwy
You can actually run it either way
Or you can use it mixed where the supervisor is big endian and apps are little
Cant say I have ever run into that
But by default ARM is little endian
The easiest way to tell is to create a MB with 2 bytes
Then stuff in the value &FFEE
And examine each byte independently
If byte 0 is EE and byte 1 FF you’re little endian
If they are reversed its big endian
Updated a version that opens without any messing about so if you download that you can just drag it into a project and use it
That code is 16 years old
All intel platforms are little endian
All iOS platforms are little endian
As far as my experience goes Pi’s are all little endian (but could be either)
But in that case will memoryblocks be created with the right endianness in all situations by default (I don’t do Pi so I don’t know the behavior there).
I have written generic code that gets relies on that.
Then that’s what the answer should be. That’s my point. I think it’s important that forums try to promote correct answers, otherwise they’re no better than facebook groups!