7.3 Structure and Role of the Processor and its Components Flashcards

1
Q

What do processors contain ?

A

ALU, a control unit and
numerous registers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the role of the ALU ?

A

Perform arithmetic and
logic operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the role of the Control Unit ?

A

controlling the various components of the processor and the Fetch-Execute Cycle .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are Registers ?

A

small storage locations used to hold data temporarily

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the characteristics of Registers ?

A

high read and write speeds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 5 Special Purpose Registers ?

A

PC, CIR, MAR , MBR , SR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of the Program Counter ?

A

Used to hold the memory address of the next
instruction to be executed in the fetch-execute cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the Current Instruction Register ?

A

Holds the instruction that is currently being executed
by the processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the Memory Address Register ?

A

Stores the memory address of a memory location that is to be read from or written to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of the Memory Buffer Register ?

A

Holds the contents of a memory location that has been read from or data that is to be stored

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of the Status Register ?

A

Contains a number of bits, the values of which can change to indicate the occurrence of an interrupt.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Role of the System Clock ?

A

Generates a timing signal
which changes at a regular frequency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of the signal generated by the System Clock ?

A

used to synchronise communication between the components of the processor and the rest of the computer system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the three stages of the Fetch - Execute Cycle ?

A

Fetch, decode and execute.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What happens in the Fetch stage ?

A

The next instruction to execute is retrieved from main memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the steps of the Fetch stage ?

A
  1. The content of the PC is copied to the MAR
  2. The content of the MAR is transferred to main memory by the address bus
  3. The instruction is sent from main memory to the MBR by the data bus
  4. The PC is incremented by one
  5. The content of the MBR is copied to the CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What happens in the Decode stage of the cycle ?

A

The fetched instruction is
decoded

18
Q

What are the steps of the Decode stage ?

A
  1. The content of the CIR is decoded by the control unit
  2. The decoded instruction is split into two parts: opcode
    and operands
19
Q

What happens in the Execute stage of the cycle ?

A

The instruction is carried out

20
Q

What are the steps of the Execute stage ?

A
  1. Any data required by the instruction that isn’t present in registers is fetched
  2. The instruction is carried out
  3. Results of any calculations are stored in general purpose registers or main memory
21
Q

What happens between each execute and fetch stage of the cycle ?

A

Content of the status register is
checked for changes that could signify the occurrence of an interrupt.

22
Q

What is the Processor’s Instruction Set ?

A

the unique group of instructions that it can carry out

23
Q

What are the Instructions of the Processor’s Instruction Set stored in ?

A

Machine Code

24
Q

What are the two primary parts of the Instructions in the Processor’s Instruction Set ?

A

-Opcode
-Operands

25
What is the opcode ?
type of operation that is to be carried out
26
What is the operand ?
pieces of data on which the operation is performed.
27
What two parts make up the opcode ?
- Operation - Addressing Mode
28
How is the addressing mode specified in the opcode ?
One bit in a machine code instruction
29
What are the two addressing modes ?
- Immediate - Direct
30
What is effect of immediate addressing ?
the value specified in the operand is to be treated as the actual value
31
What is effect of Direct addressing ?
The value specified by an operand signifies a memory address
32
What is logical shifting ?
shifting all of the bits in a number
33
What is an interrupt ?
A signal sent to the processor by another part of the computer requesting the attention of the processor
34
Can Software also send Interrupts ?
Yes, eg. Division by Zero
35
How are interrupts detected ?
change in the content of the status register
36
How are interrupts handled ?
vectored interrupt method
37
What is the Vectored interrupt method ?
processor stops executing the current program and places the content of its registers onto the system stack
38
What is an interrupt service routine ?
A series of instructions for handling the interrupt that is specific to the type of interrupt.
39
What are the factors that affect processor performance ?
Number of Cores, Cache Memory, Clock Speed , Word Length, Address Bus Width, Data Bus Width
40
What is a Word ?
A group of bits that is treated as a single unit by a processor