From 727cda594d942f310180cda48ae04c5e3ee9a0ff Mon Sep 17 00:00:00 2001 From: Test_User Date: Sat, 8 Oct 2022 21:21:52 -0400 Subject: added basics for exceptions (incomplete) --- cpu/registers/interrupt-related.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cpu/registers/interrupt-related.txt (limited to 'cpu/registers/interrupt-related.txt') diff --git a/cpu/registers/interrupt-related.txt b/cpu/registers/interrupt-related.txt new file mode 100644 index 0000000..dd4b0b8 --- /dev/null +++ b/cpu/registers/interrupt-related.txt @@ -0,0 +1,17 @@ +OIPH (Old Instruction Pointer [Hardware]) + Used to store the old IP when hardware interrupts occur + +OPRH (Old Privilege Register [Hardware]) + Used to store the old PR when hardware interrupts occur + +OIPE (Old Instruction Pointer [Exception]) + Used to store the old IP when (non-double) exceptions occur + +OPRE (Old Privilege Register [Exception]) + Used to store the old PR when (non-double) exceptions occur + +OIPDE (Old Instriction Pointer [Double Exception]) + Used to store the old IP when double exceptions occur + +OPRDE (Old Privilege Register [Double Exception]) + Used to store the old PR when double exceptions occur -- cgit v1.2.3