Il 29/05/2014 22:38, Peter Maydell ha scritto:
> +#ifdef TARGET_WORDS_BIGENDIAN
> +    cpsr |= CPSR_E;
This is wrong for BE32, where CPSR_E doesn't exist and both code
and data accesses are big-endian.


Is it okay for simplicity to treat CPSR.E = 1 as "big-endian code, little-endian data" in BE32 mode? The architecture manual leaves it undefined.

Paolo

Reply via email to