The document discusses how user programs and OS routines share the processor using examples and diagrams. It also asks questions about code sequences, instruction counts, and CPI for different sequences. Superscalar operation and multithreading are mentioned. Instruction sequencing and specifying operand location in instructions are also discussed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
41 views2 pages
M1 CT
The document discusses how user programs and OS routines share the processor using examples and diagrams. It also asks questions about code sequences, instruction counts, and CPI for different sequences. Superscalar operation and multithreading are mentioned. Instruction sequencing and specifying operand location in instructions are also discussed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
1.
Explain how user program and OS routines shares the processor
with a suitable example and diagram. 2. A compiler designer is trying to decide between two code sequences for a particular computer. The hardware designers have supplied the following facts: Instruction Class CPI
For a particular high-level language statement, the
compiler writer is considering two code sequences that require the following instruction counts: Instruction counts for each instruction class Code
Sequence
Which code sequence executes the most instructions?
Which will be faster? What is the CPI for each sequence? 3. Explain about Superscalar operation and Multithreading.
1. Explain the concept of instruction sequencing.
2. Suppose there are 2 implementations of the same instruction set architecture. Computer A has a clock cycle time of 250 ps and a CPI of 2.0 for some program, and computer B has a clock cycle time of 500 ps and a CPI of 1.2 for the same program. Which computer is faster for this program and by how much? 3. How the location of an operand is specified in an instruction? Explain in detail