Question: a. Suppose we are trying to determine the speed of a computer that executes the Little Man instruction set. The LOAD and STORE instructions each
a. Suppose we are trying to determine the speed of a computer that executes the Little Man instruction set. The LOAD and STORE instructions each make up about 25% of the instructions in a typical program; ADD, SUBTRACT, IN, and OUT take 10% each. The various branches each take about 5%. The HALT instruction is almost never used (a maximum of once each program, of course!). Determine the average number of instructions executed each second if the clock ticks at 100 MHz.
b. Now suppose that the CPU is pipe lined, so that each instruction is fetched while another instruction is executing. (You may also neglect the time required to refill the pipeline during branches and at the start of program execution.) What is the average number of instructions that can be executed each second with the same clock in this case?
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
a The LOAD and STORE each take five steps or four if you assume that the PC may be incremented in pa... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1806_60b8c1213deb5_721384.pdf
180 KBs PDF File
1806_60b8c1213deb5_721384.docx
120 KBs Word File
