summaryrefslogtreecommitdiff
path: root/doc/assignment1.md
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2021-01-11 20:44:49 -0700
committermo khan <mo.khan@gmail.com>2021-01-11 20:44:49 -0700
commite823dca5c9d22c5b1f867082eaafcc648f5eec39 (patch)
tree46bc1e11243978c7ad6eda861ce065997b9a77ac /doc/assignment1.md
parent6247b0aaff252f1db87cfd1d740916455d9e3b1b (diff)
docs: more notes
Diffstat (limited to 'doc/assignment1.md')
-rw-r--r--doc/assignment1.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/assignment1.md b/doc/assignment1.md
index fd7405f..5cc7dc2 100644
--- a/doc/assignment1.md
+++ b/doc/assignment1.md
@@ -8,12 +8,18 @@ Instructions: Please answer the following questions in complete sentences. Your
1. Define the concepts interrupt and trap, and explain the purpose of an interrupt vector.
-An interrupt vector is a list or table of interrupts. Each interrupt has an
-address to the interrupt routine to execute when the interrupt is signaled.
-A trap is a way to capture a triggered signal to allow programs to respond to
-and handl the signal.
+ An interrupt vector is a list or table of interrupts. Each interrupt has an
+ address to the interrupt routine to execute when the interrupt is signaled.
+ A trap is a way to capture a triggered signal to allow programs to respond to
+ and handl the signal.
1. How does a computer system with von Neumann architecture execute an instruction?
+
+ * fetch instruction from memory and store that instruction in the instruction register.
+ * decode instruction. may cause operands to be fetched from memory and stored in some internal register.
+ * execute instruction
+ * store result back in register
+
1. What role do device controllers and device drivers play in a computer system?
1. Why do clustered systems provide what is considered high-availability service?
1. Describe an operating system’s two modes of operation.