Hi, I have a question Does writing access to the APSR register require privileged or unprivileged status?
Hello Ted,
As per table 2-2 below, the APSR can be accessed from either privileged or unprivileged state:https://developer.arm.com/documentation/dui0473/m/overview-of-the-arm-architecture/application-program-status-register
Other fields in the xPSR require privileged state.
The main reason to write to APSR is to clear the sticky Q-flag:https://developer.arm.com/documentation/dui0473/m/overview-of-the-arm-architecture/the-q-flag
Regards, Ronan