Deck 14: Processor Structure and Function

Full screen (f)
exit full mode
Question
The allocation of control information between registers and memory are not considered to be a key design issue.
Use Space or
up arrow
down arrow
to flip the card.
Question
The control unit (CU)does the actual computation or processing of data.
Question
Within the processor there is a set of registers that function as a level of memory above main memory and cache in the hierarchy.
Question
The ________ controls the movement of data and instructions into and out of the processor.

A)control unit
B)ALU
C)shifter
D)branch
Question
Interrupt processing allows an application program to be suspended in order that a variety of interrupt conditions can be serviced and later resumed.
Question
__________ are bits set by the processor hardware as the result of operations.

A)MIPS
B)Condition codes
C)Stacks
D)PSWs
Question
A control hazard occurs when two or more instructions that are already in the pipeline need the same resource.
Question
An interrupt is generated from software and it is provoked by the execution of an instruction.
Question
It is possible to improve pipeline performance by automatically rearranging instructions within a program so that branch instructions occur later than actually desired.
Question
The predict-never-taken approach is the most popular of all the branch prediction methods.
Question
Instruction pipelining is a powerful technique for enhancing performance but requires careful design to achieve optimum results with reasonable complexity.
Question
While the processor is in user mode the program being executed is unable to access protected system resources or to change mode,other than by causing an exception to occur.
Question
The processor needs to store instructions and data temporarily while an instruction is being executed.
Question
The exception modes have full access to system resources and can change modes freely.
Question
__________ are a set of storage locations.

A)Processors
B)PSWs
C)Registers
D)Control units
Question
The cycle time of an instruction pipeline is the time needed to advance a set of instructions one stage through the pipeline.
Question
One of the major problems in designing an instruction pipeline is assuring a steady flow of instructions to the initial stages of the pipeline.
Question
________ registers may be used only to hold data and cannot be employed in the calculation of an operand address.

A)General purpose
B)Data
C)Address
D)Condition code
Question
The _________ contains the address of an instruction to be fetched.

A)instruction register
B)memory address register
C)memory buffer register
D)program counter
Question
Condition codes facilitate multiway branches.
Question
__________ registers are used by the control unit to control the operation of the processor and by privileged operating system programs to control the execution of programs.
Question
The _________ element is needed to transfer data between the various registers and the ALU.
Question
The _________ is a small cache memory associated with the instruction fetch stage of the pipeline.

A)dynamic branch
B)loop table
C)branch history table
D)flag
Question
The ________ determines the opcode and the operand specifiers.

A)decode instruction
B)fetch operands
C)calculate operands
D)execute instruction
Question
__________ or fetch overlap is where,while the second stage is executing the instruction,the first stage takes advantage of any unused memory cycles to fetch and buffer the next instruction.
Question
A ________ hazard occurs when there is a conflict in the access of an operand location.

A)resource
B)data
C)structural
D)control
Question
A _________ is a small,very-high-speed memory maintained by the instruction fetch stage of the pipeline and containing the n most recently fetched instructions in sequence.

A)loop buffer
B)delayed branch
C)multiple stream
D)branch prediction
Question
A __________ occurs when the pipeline,or some portion of the pipeline,must stall because conditions do not permit continued execution.
Question
The ARM architecture supports _______ execution modes.

A)2
B)8
C)11
D)7
Question
__________ is a process where new inputs are accepted at one end before previously accepted inputs appear as outputs at the other end.
Question
A processor must: fetch instruction,interpret instruction,process data,write data,and _________.
Question
_________ registers enable the machine or assembly language programmer to minimize main memory references by optimizing use of registers.
Question
Many processor designs include a register or set of registers often known as the _________ that contain status information and condition codes.
Question
The major components of the processor are an arithmetic and logic unit (ALU)and a __________.
Question
The OS usually runs in ________.

A)supervisor mode
B)abort mode
C)undefined mode
D)fast interrupt mode
Question
The _________ contains a word of data to be written to memory or the word most recently read.

A)MAR
B)PC
C)MBR
D)IR
Question
The _________ stage includes ALU operations,cache access,and register update.

A)decode
B)execute
C)fetch
D)write back
Question
An instruction cycle includes the following stages: fetch,execute,and _______.
Question
_________ is a pipeline hazard.

A)Control
B)Resource
C)Data
D)All of the above
Question
________ is used for debugging.

A)Direction flag
B)Alignment check
C)Trap flag
D)Identification flag
Question
Data are exchanged with the processor from external memory through a _________.
Question
The three types of data hazards are: read after write (RAW),write after write (WAW),and _________.
Question
The ________ flag allows the programmer to disable debug exceptions so that the instruction can be restarted after a debug exception without immediately causing another debug exception.
Question
A _________,also known as a branch hazard,occurs when the pipeline makes the wrong decision on a branch prediction and therefore brings instructions into the pipeline that must subsequently be discarded.
Question
Two classes of events cause the x86 to suspend execution of the current instruction stream and respond to the event: interrupts and ________.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 14: Processor Structure and Function
1
The allocation of control information between registers and memory are not considered to be a key design issue.
False
2
The control unit (CU)does the actual computation or processing of data.
False
3
Within the processor there is a set of registers that function as a level of memory above main memory and cache in the hierarchy.
True
4
The ________ controls the movement of data and instructions into and out of the processor.

A)control unit
B)ALU
C)shifter
D)branch
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
5
Interrupt processing allows an application program to be suspended in order that a variety of interrupt conditions can be serviced and later resumed.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
6
__________ are bits set by the processor hardware as the result of operations.

A)MIPS
B)Condition codes
C)Stacks
D)PSWs
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
7
A control hazard occurs when two or more instructions that are already in the pipeline need the same resource.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
8
An interrupt is generated from software and it is provoked by the execution of an instruction.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
9
It is possible to improve pipeline performance by automatically rearranging instructions within a program so that branch instructions occur later than actually desired.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
10
The predict-never-taken approach is the most popular of all the branch prediction methods.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
11
Instruction pipelining is a powerful technique for enhancing performance but requires careful design to achieve optimum results with reasonable complexity.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
12
While the processor is in user mode the program being executed is unable to access protected system resources or to change mode,other than by causing an exception to occur.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
13
The processor needs to store instructions and data temporarily while an instruction is being executed.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
14
The exception modes have full access to system resources and can change modes freely.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
15
__________ are a set of storage locations.

A)Processors
B)PSWs
C)Registers
D)Control units
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
16
The cycle time of an instruction pipeline is the time needed to advance a set of instructions one stage through the pipeline.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
17
One of the major problems in designing an instruction pipeline is assuring a steady flow of instructions to the initial stages of the pipeline.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
18
________ registers may be used only to hold data and cannot be employed in the calculation of an operand address.

A)General purpose
B)Data
C)Address
D)Condition code
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
19
The _________ contains the address of an instruction to be fetched.

A)instruction register
B)memory address register
C)memory buffer register
D)program counter
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
20
Condition codes facilitate multiway branches.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
21
__________ registers are used by the control unit to control the operation of the processor and by privileged operating system programs to control the execution of programs.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
22
The _________ element is needed to transfer data between the various registers and the ALU.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
23
The _________ is a small cache memory associated with the instruction fetch stage of the pipeline.

A)dynamic branch
B)loop table
C)branch history table
D)flag
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
24
The ________ determines the opcode and the operand specifiers.

A)decode instruction
B)fetch operands
C)calculate operands
D)execute instruction
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
25
__________ or fetch overlap is where,while the second stage is executing the instruction,the first stage takes advantage of any unused memory cycles to fetch and buffer the next instruction.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
26
A ________ hazard occurs when there is a conflict in the access of an operand location.

A)resource
B)data
C)structural
D)control
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
27
A _________ is a small,very-high-speed memory maintained by the instruction fetch stage of the pipeline and containing the n most recently fetched instructions in sequence.

A)loop buffer
B)delayed branch
C)multiple stream
D)branch prediction
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
28
A __________ occurs when the pipeline,or some portion of the pipeline,must stall because conditions do not permit continued execution.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
29
The ARM architecture supports _______ execution modes.

A)2
B)8
C)11
D)7
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
30
__________ is a process where new inputs are accepted at one end before previously accepted inputs appear as outputs at the other end.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
31
A processor must: fetch instruction,interpret instruction,process data,write data,and _________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
32
_________ registers enable the machine or assembly language programmer to minimize main memory references by optimizing use of registers.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
33
Many processor designs include a register or set of registers often known as the _________ that contain status information and condition codes.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
34
The major components of the processor are an arithmetic and logic unit (ALU)and a __________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
35
The OS usually runs in ________.

A)supervisor mode
B)abort mode
C)undefined mode
D)fast interrupt mode
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
36
The _________ contains a word of data to be written to memory or the word most recently read.

A)MAR
B)PC
C)MBR
D)IR
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
37
The _________ stage includes ALU operations,cache access,and register update.

A)decode
B)execute
C)fetch
D)write back
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
38
An instruction cycle includes the following stages: fetch,execute,and _______.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
39
_________ is a pipeline hazard.

A)Control
B)Resource
C)Data
D)All of the above
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
40
________ is used for debugging.

A)Direction flag
B)Alignment check
C)Trap flag
D)Identification flag
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
41
Data are exchanged with the processor from external memory through a _________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
42
The three types of data hazards are: read after write (RAW),write after write (WAW),and _________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
43
The ________ flag allows the programmer to disable debug exceptions so that the instruction can be restarted after a debug exception without immediately causing another debug exception.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
44
A _________,also known as a branch hazard,occurs when the pipeline makes the wrong decision on a branch prediction and therefore brings instructions into the pipeline that must subsequently be discarded.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
45
Two classes of events cause the x86 to suspend execution of the current instruction stream and respond to the event: interrupts and ________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 45 flashcards in this deck.