Re: why arm bootloader is big endian?

2022-05-17 Thread Peter Maydell
On Tue, 17 May 2022 at 11:19, Liu Jaloo wrote: > > from hw/arm/boot.c > > static const ARMInsnFixup bootloader[] = { > { 0xe28fe004 }, /* add lr, pc, #4 */ > ... > } > > $ rasm2 -a arm -d -e 0xe28fe004 > add lr, pc, 4 > > $ rasm2 --help > -e Use big endian instead of little

why arm bootloader is big endian?

2022-05-17 Thread Liu Jaloo
from hw/arm/boot.c static const ARMInsnFixup bootloader[] = { { 0xe28fe004 }, /* add lr, pc, #4 */ ... } $ rasm2 -a arm -d -e 0xe28fe004 add lr, pc, 4 $ rasm2 --help -e Use big endian instead of little endian why arm bootloader defalut is big endian?