Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

30) Write the trace for the following stream of instructions encountered by the

ID: 3734552 • Letter: 3

Question

30) Write the trace for the following stream of instructions encountered by the CPU. The instructions in blue (or shaded) are the dispatcher. Process A's instructions are 5xxx, Process B's are 8xxx and Process C's are 12xxx 27 12004 28 12005 2 5001 3 5002 4 5003 5 5004 6 5005 Timeout 29 100 30 101 31 102 32 103 33 104 4 105 35 5006 36 5007 37 5008 38 5009 39 5010 40 5011 meout 7 100 8 101 9 102 10 103 11 104 12 105 13 8000 14 8001 15 8002 16 8003 Timeout 41 100 42 101 43 102 44 103 45 104 46 105 47 12006 48 12007 49 12008 50 12009 51 12010 52 12011 1/O Request 17 100 18 101 19 102 20 103 21 104 22 105 23 12000 24 12001 25 12002 26 12003 Timeout

Explanation / Answer

Trace for stream of Instructions

First 6 Instructions of Process A ie instructions set ( 5000 - 5005 in cpu cycle 1 to 6) Dispatcher ie instructions set (100 - 105 in cpu cycle 7 to 12) First 4 instruction of Process B ie instuctions set (8000 - 8003 in cpu cycle 13 to 16) Dispatcher ie instructions set (100 - 105 in cpu cycle 17 to 22) First 6 Instructions of Process C ie instuctions set (12000 - 12005 in cpu cycle 23 to 28) Dispatcher ie instructions set (100 - 105 in cpu cycle 29 to 34) Next 6 Instructions of Process A ie instructions set ( 5006 - 5011 in cpu cycle 35 to 40) Dispatcher ie instructions set (100 - 105 in cpu cycle 41 to 46) Next 6 Instructions of Process C  ie instuctions set (12006 to 12011 in cpu cycle 47 to 52)
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote