Control unit, Arithmetic logic unit and special purpose registers Flashcards

1
Q

What does the control unit do in the CPU?

A

It coordinates all the activities taking place in the CPU

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

Summarise the control units functions.

A

[]it controls the execution of instructions in the correct sequence
[]it decodes instruction
[]it regulates and controls processor timing using regular pulses from the system clock
[]it send and receives control signals to and from other devices within the computer

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

What functions does the ALU carry out ?

A

[]logical operations - these include AND, OR and NOT
[]Shift operations - The bits in a computer word can be shifted left or right by a certain number of places
[]Arithmetic operations - These include additions, subtraction, multiplication and division.

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

What is a register?

A

A register is a special very fast memory location within the CPU used in the execution of instructions.

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

Name and explain each special register in a register?

A
The memory address register (MAR) holds the address  of the instruction or piece of data to be fetched or stored.
The memory data register (MDR) holds data or a program instruction temporarily when it is fetched from memory or it is sent to memory.
The program counter (PC) holds the memory address of the next instruction to be processed.
The accumulator (ACC) is a special-purpose, memory location in which results of operations carried out in the ALU are temporarily stored.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does MAR stand for?

A

Memory Address Register

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

What does MDR stand for?

A

Memory Data Register

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

What does PC stand for?

A

Program counter

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

What does ACC stand for?

A

The Accumulator

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

What does the MAR do?

A

It holds the address of the instruction of piece of data to be fetched or stored

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

What does the MDR do?

A

It holds data or a program instruction temporarily when it is fetched from memory or be sent to memory.

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

What does the program counter do?

A

It holds the memory address of the next instruction to be processed

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

What does the Accumulator do?

A

It is a special-purpose memory location in which results of operations carried out in the ALU are temporarily stored

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

What is the address in a computer?

A

Location in the memory?

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