processor components Flashcards

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

central processing unit (CPU)

A

it is also simply known as the main processor, contains a different number of components which enables it to carry out its tasks of executing instructions

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

describe the CU (control unit)

A

the control unit controls and coordinates the activities of the CPU. It accepts the next instruction, decodes it in several sequential steps such as fetching address and data from memory, manages its execution and stores the resulting data back in memory of registers

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

describe buses

A

a bus is a set of parallel wires connecting two or more components of a computer. it typically consists of 8, 16, 32, 64 lines.

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

describe control bus

A

the control bus is a bi-directional bus, meaning that signals can be carried in both directions.

control lines include:
bus request: indicates that device is requesting the use of the data bus
bus grant: indicates that the CPU has granted access to the data bus
memory write: causes data on the data bus to be written into the addressed location
memory read: causes data from the addressed location to be placed on the data bus
interrupt request: indicates that a devices is requesting access to the CPU
Clock: used to synchronise operations

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

describe the Data Bus

A

The data bus, typically consisting of 8, 16, 32, 64 separate lines, provides as bi-directional path for moving data and instructions between system components

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

describe the Address bus( what is a word? )

A

the address bus transmits the memory address of words that are use as operands in programs. a word is a fixed size group of digits, typically 16, 32 or 64 bits. this is handled as a unit by the processor. each word in memory has its own specific address.

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

what does the Arithmetic-logic Unit (ALU)

A

the Arithmetic-logic Unit performs arithmetic and logical operations on the data. it can perform instructions like ADD, SUBTRACT, MULTIPLY, DIVIDE on fixed or floating point numbers. it can also perform shifts.

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

Registers

A

are special memory cells that operate at very high speed

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

describe the program counter (PC)

A

it is a register that holds the next instruction that is going to be executed

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

current instruction register (CIR)

A

it is a register that holds the current instruction that is being executed

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

memory address register (MAR)

A

its a register that holds the address of the current instruction which is being executed

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

memory data register (MDR)

A

its a register that holds the data of the current instruction which is being executed

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

The Fetch-Decode-Execute cycle

A

the sequence of operations involved in executing an instruction can be divided into three phases - fetching, decoding and executing it. this repeats until all of the instructions have been executed

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

what happens in the fetch phase

A
  1. The address of the next instruction is copied from the PC to the MAR
  2. The instruction held at that address is copied to the MDR. simultaneously, the PC is incremented by 1
  3. The contents of the MDR are copied into the CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what happens in the decode phase

A

the instructions held in the CIR is decoded. The instruction is split into OPCODE and OPERAND. the opcode is used to determine the type of instruction and what hardware to use to execute it.

  1. the address of the data to be used with the operation, which is then copied to the MAR
  2. the actual data to be operated on, which will be copied to the MDR
  3. the data to be operated on may be passed to the ALU/ accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly