vault backup: 2025-05-05 20:41:16
This commit is contained in:
@ -86,3 +86,40 @@ An alternative mode is to have the device controller send the word to DMA contro
|
||||
|
||||

|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### Handling interrupts
|
||||
- Microprogram or hardware checked to see if there was an interrupt pending.
|
||||
- Instruction cycle:
|
||||
- Fethc
|
||||
- Decode
|
||||
- Read operands
|
||||
- Execute
|
||||
- Store
|
||||
- Check for interrupts
|
||||
|
||||
This can be pipelined
|
||||
|
||||
### Precise interrupts
|
||||
1. PC is saved in a known place
|
||||
2. All instructions before the one pointed to by the PC have completed
|
||||
3. No instruction beyond the current one has vfinished
|
||||
4. Execution state is known
|
||||
|
||||
An interrupt that doesn't meet the above requirements is called **imprecise**
|
||||
|
||||

|
||||
|
||||
## Clocks
|
||||

|
||||
|
||||
> [!IMPORTANT]
|
||||
> Watchdog timers **ARE clocks**
|
||||
|
||||
|
||||
|
||||
## Mass Storage
|
||||
Secondary storage for modern computers and shit.
|
||||
|
||||
|
Reference in New Issue
Block a user