Structure and Role of the Processor and its Components Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What do processors contain

A

ALU (Arithmetic Logic Unit)

Control Unit

PC

CIR

MAR

MBR

SR

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

To 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 control unit responsible for

A

Controls the hardware, including I/O and CPU

Controlling 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 General Purpose Registers

A

Registers that can be manipulated to perform the role of any other registers

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

List the Special Purpose Registers

A

Program Counter (PC)

Current Instruction Register (CIR)

Memory Address Register (MAR)

Memory Buffer Register (MBR)

Status Register (SR)

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

What does a Program Counter do

A

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 does the Current Instruction Register do

A

Holds the instruction that is currently being decoded and executed by the processor

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

What does the Memory Address Register do

A

Stores the memory address of an instruction that is to be read from, or the address in memory to which data is to be transferred

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

What is the role of the Memory Buffer Register

A

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

Place where all communications between the CPU and Memory take place

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

What is the role 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 clock

A

A device that generates a timing signal which changes at a regular frequency which regulates all of the actions that take place

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

When is the signal generated by the clock used

A

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 happens during the fetch stage of the fetch execute cycle

A

Content of the PC is copied to the MAR

Content of the MAR is transferred to the main memory by the address bus

Instruction is sent from main memory to the MBR by the data bus

PC is incremented by one

Content of the MBR is copied to the CIR

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

What happens during the decode stage of the fetch execute cycle

A

Content of the CIR is decoded by the control unit

Decoded instruction is split into two parts - opcode and operands

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

What happens during the execute stage of the fetch-execute cycle

A

Any data required by the instruction that isn’t present is fetched

The instruction is carried out

Results of any calculations are stored in general purpose registers or main memory

17
Q

What are instructions usually stored in and how

A

Machine code

Two primary parts - opcode and one or more operands

18
Q

What does the opcode specify

A

Type of operation that is to be carried out

19
Q

What is the operand

A

Pieces of data on which the operation is performed

20
Q

What are the two types of addressing modes

A

Immediate and direct

21
Q

What happens in immediate addressing

A

The value specified in the operand is to be treated as the actual value

22
Q

What happens in direct addressing

A

Value specified by an operand signifies a memory address

23
Q

What is an interrupt

A

A signal sent to the processor by another part of the computer requesting the attention of the processor

24
Q

What happens when an interrupt occurs

A

It is detected as a change in the content of the status register between the execute and fetch stages of the fetch-execute cycle

25
Q

What are the two approaches used in instruction sets

A

RISC (Reduced Instruction Set Computer)

CISC (Complex Instruction Set Computer)

26
Q

RISC vs CISC

A

RISC executes one instruction per clock cycle

CISC - each instruction performs so many actions that it takes several clock cycles to complete

27
Q

What Factors affect Processor Performance

A

Amount of Cores

Cache Memory

Words

Clock Speed

Bus Width