The instructions and registers are little endian.
Moving data into registers has a user mode switch to load from a big
or little endian memory item.

https://azeria-labs.com/arm-data-types-and-registers-part-2/

On Fri, Sep 4, 2026 at 3:38 PM Tony Harminc <[email protected]> wrote:
>
> On Fri, 4 Sept 2026 at 16:02, Jay Maynard <
> [email protected]> wrote:
>
> > ARM can do either big or little endian.
> >
>
> Yabut... can it switch while running, or is it a boot-time option?
> Switching on the fly of such a fundamental attribute of a machine, while
> probably not difficult in hardware, seems like a bit much for an OS or
> hypervisor to deal with. And there's doubtless a lot of code out there that
> just assumes little endian and would fall over almost immediately if run on
> a big endian machine.
>
> On Fri, Sep 4, 2026 at 2:43 PM Phil Smith III <[email protected]> wrote:
> >
> > > If the idea for ARM on Z is to allow ARM binaries to run alongside Z
> > > binaries, how does that work with Big and Little Endian? Or will there be
> > > Middle Endian?*
> > >
> > > ...phsiii
> > >
> > > *With apologies to the HBO show Silicon Valley, from whom I essentially
> > stole this joke
> >
>
> I think that joke's been around for a good many decades. Even the GCC
> compilers have a "middle end", though of course the context is different.
> And there were machines to which the term was applied that swapped 16-bit
> halfwords as well as 8-bit bytes within a word.
>
> Tony H.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to