1/9
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What are the steps in the fetch part of the fetch-decode execute cycle (in words)?
What are the steps in the fetch part of the fetch-decode execute cycle (in register transfer notation)?
What are the steps in the decode and execute parts of the fetch-decode execute cycle?
What are the possible actions the processor can take in the execute part of the fetch-decode execute cycle?
-Jump/Branch instruction -> PC is updated
-Data is required -> Memory or I/O read is issued
-Arithmetic/Logic operation -> ALU calculates results and stores in register(s) and the status register updates to show overflow or carry
What happens in the interrupt part of the fetch-decode execute cycle if an interrupt signal of higher priority has been received by the processor?
What is an interrupt?
A signal sent to the processor that suspends execution of the current process until the interrupt is handled with an Interrupt Service Routine (ISR)
What sends interrupts?
Hardware devices and software programs
Why do the register contents have to be pushed to the system stack when an interrupt is received?
To save the volatile environment as the registers are going to be overwritten so the values would be lost otherwise
What does the use of interrupts allow a processor to do?
Multitask (using time slices and timer interrupts)