From 2b346bc786ebec5f6c0edc4c7e688de455203dc1 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 18 Jan 2020 07:41:35 +0100 Subject: start explaining Program Status Registers --- PSRs-explained.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 PSRs-explained.txt diff --git a/PSRs-explained.txt b/PSRs-explained.txt new file mode 100644 index 0000000..de5c0fb --- /dev/null +++ b/PSRs-explained.txt @@ -0,0 +1,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 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) -- cgit v1.2.3