1.1.1 strucure of the cpu Flashcards

1
Q

Arithmetic logical unit

A
  • alu complete all the arithmetic and logical operations.
  • arithmetic operations include mathematical operations, ADD, SUB. etc.
  • logical operations include Boolean logic operations like AND, OR, etc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Control unit

A

Control unit control the activities of the cpu

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

jobs of the control unit.

A
  • control and coordinate the activities of the cpu
  • control the flew of data between the cpu and device
  • accepting the next instruction
  • decoding the instruction
  • storing results back in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are registers

A

registers are small memory cell that store data temporarily while it been executed

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

name the 5 registers

A
  • program counter
  • accumulator
  • memory address register
  • memes data register
  • current instruction register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

program counter:

A

hold/store the address of the next instruction to be executed.

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

accumulator:

A

store the results from calculations

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

memory address register:

A

hold the address of the location of data in main memory to be fetched

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

Memory address register:

A

temporarily store data that has been fetched from main memory

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

current instruction register:

A

hold the current instruction been executed, divide up into operand or opcode

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

Buses

A

Buses are parallel wires that connect 2 or more components in the cpu.
- data bus
- address bus
- control bus

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

Databus:

A

this bus is bi-directional and transmit data and instructions between components

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

Address bus:

A

this bus transfer the data address in main memory

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

control bus:

A

this bus is bi-directional and it transmit control signals between internal and external components.
and control the use of address and data bus

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

Phases in execution cycle

A
  • fetch
  • decode
  • execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

fetch phase:

A
  • address in the pc is copied into the mar
  • address in mar is used to fetch the instructiona from main memory to mdr using data bus.
  • simultaneously pc value increases by one
  • value held in mdr is copied into cir
17
Q

decode phase:

A

instructions in cir is divided into operand and opcode

18
Q

execute phase:

A
  • decoded instructions are executed