This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-A8 boot up cpsr status

Hi,

I have a beaglebone black and running a very basic app using starterware. As soon as the app starts executing i copy the CPSR values in memory. The value of CPSR is super surprising

6000019f

which means it is in SYS mode and IRQ, ABORT disabled and FIQ enabled.

i read in the PG that

A processor enters Supervisor mode on Reset.

Really confused

Here is my code for reference

MRS r0, CPSR
LDR r1,=0x800a0000
STR r0, [r1]
ADD r0, r0, #1
LDR r1,=0x800a0004
STR r0, [r1]
LDR r0, =0xDEADBEEF
LDR r1,=0x800a0008
STR r0, [r1]
0