From a6f85a491c2566f346b4fc222de8f9dd16baf0ad Mon Sep 17 00:00:00 2001 From: Aiden Beresford Date: Fri, 27 Sep 2024 10:52:19 -0500 Subject: [PATCH] Fix cpu.md misinfo/typo The ARM7TDMI has 37 registers. You can reference the technical manual (Section 2.6) for more information. You can also count out the registers already listed. --- content/cpu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cpu.md b/content/cpu.md index 50ed35b..4aa6298 100644 --- a/content/cpu.md +++ b/content/cpu.md @@ -12,7 +12,7 @@ The CPU is a 16.78 MHz ARM7tdmi RISC processor. It is a 32-bit processor but can ## CPU Registers -16 registers are visible to the user at any given time, though there are 20 [banked registers](#banked-registers) which get swapped in whenever the CPU changes to various priveleged modes. The registers visible in user mode are as follows: +17 registers are visible to the user at any given time, though there are 20 [banked registers](#banked-registers) which get swapped in whenever the CPU changes to various priveleged modes. The registers visible in user mode are as follows: * **r0-r12:** General purpose registers, for use in every day operations