Il 03/06/2014 11:54, Peter Maydell ha scritto:
In system emulation it's clear how we should implement
things: TARGET_WORDS_BIGENDIAN is never set, data
accesses honour CPSR.E by doing MO_BE or MO_LE accesses,
instruction accesses are always MO_LE, and SCTLR.B
is implemented by XORing the address with 3 (for
byte accesses) or 1 (for halfword accesses).

I think it's 2 for halfword accesses. :)

What about 64-bit accesses? Does the processor swap the two words of the result?

Paolo

Reply via email to