aboutsummaryrefslogtreecommitdiff
path: root/PSRs-explained.txt
blob: de5c0fb1d37ff369b431306859887c17062829da (plain)
1
2
3
CPSR (Current Program Status Register) is a register, bits of which contain and/or determine various aspects of execution, i.e. condition flags, execution state (arm, thumb or jazelle), endianness state, execution mode <link to doc explaining modes> and interrupt mask. This register is readable and writeable with the use of mrs and msr instructions from any PL1 mode, thus it is possible to change things like mode or interrupt mask by writing to this register.
Additionally, there are other registers with the same or simillar bit fields as CPSR. Those PSRs (Program Status Registers) are:
ยท APSR (Application Program Status Register)