i wang to get cpu run state aarch64 or aarch32? is there ang regisister can ?cpu is cortex a57 series
Hi jhb,
PSTATE.nRW is 0 when running in 64b, and 1 when running in 32b.
This is also available to a debugger in DSPSR_EL0.M[4].
i have seen this,but how to access this register,i can not find a Valid assembly instructions.
View all questions in Cortex-A / A-Profile forum