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
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?