Question: Question 28 (2 points) Which one is an Asynchronous event? Question 28 options: illegal operation code divided by zero keyboard stroking emulated instructions Question 29
Question 28 (2 points)
Which one is an Asynchronous event?
Question 28 options:
|
| illegal operation code |
|
| divided by zero |
|
| keyboard stroking |
|
| emulated instructions |
Question 29 (2 points)
Consider the following program:
100 ADD 101 NAND 102 LW 103 NAND 104 BEQ
Handler:
200 LW 201 SUB ...
an interrupt occurs when the processor is executing NAND instruction. What is the PC value that needs to be preserved to resume this program after the interrupt?
Question 29 options:
|
| 100 |
|
| 104 |
|
| 102 |
|
| 101 |
Question 30 (2 points)
Consider the following program:
100 ADD 101 NAND 102 LW 103 NAND 104 BEQ
Handler:
1000 Save $k0 1001 Enable Interrupts 1002 Save processor Registers ...
1020 execute device code ....
1102 Restore processor registers .... 1120 restore $k0 1121 return to original program
an interrupt occurs when the processor is executing NAND instruction. Assume that a second interrupt occurs at the instruction "restore $k0" (PC = 1120). What is the memory address stored in $k0?
Question 30 options:
|
| 102 |
|
| 1120 |
|
| 1121 |
|
| 1001 |
Question 31 (2 points)
The role of ____________ is to balance the mix of processes in memory to avoid thrashing.
Question 31 options:
|
| Loader |
|
| dispatcher |
|
| medium term scheduler |
|
| short term scheduler |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
