4.7.3.1 Fo CompOrgArch (The processor and its components) Flashcards

(12 cards)

1
Q

What is the difference between memory locations and memory addresses

A

Address - The unique identifier of where the data is stored
Location - The physical location of where it data is stored

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

What is the Program Counter and what does it do

A
  • A special purpose register that stores the address of the next instruction to be executed by the CPU
    -At the start of the FDE its contents are copied onto the MAR
  • Before the end of the fetch stage it is incremented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the MAR and what does it do

A

-Holds the address of the memory location from which data is to be written, and sends this address to memory via the address bus

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

What is the MDR and what does it do

A

Used to store data and instructions passed from the RAM to the CPU, and passes it to the appropriate unit ( ALU or CU), and stores data and instructions that is to be passed from the CPU to the RAM

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

What does the ALU do

A

Performs arithmetic and logic operations and bitwise shift, to execute instructions, and uses general purpose registers to temporarily hold the result of a calculation. It also updates the status register as appropriate following its operation

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

What is the Status register and what does it do

A
  • it holds lots of different values that indicate the result of the last operation executed by the ALU, and so acts as a flag to the state of the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What sort of things do the bits in the status register indicate

A
  • Interrupts
  • Results (Greater or Less than)
  • Overflow and Underflows
  • the presence of a carry bit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are general purpose registers and what are they used for

A

Tiny areas of extremely fast memory located in the CPU, designed to store temporary data while instructions are being carried out
It makes the CPU faster as it doesn’t have to read/write from/to the RAM which is outside of the CPU

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

What is the Control unit

A

The component within the CPU responsible for directing the operations of the various other component, including determining when tasks should be performed and how they should be executed.

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

What are some notable functions of the Control unit

A
  • Decodes the instruction on the FDE cycle
  • Uses the clock to synchronise the components of the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Clock

A

An electronic unit that synchronises related components by generating pulses at a constant rate

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

True/False one instruction takes one clock cycle

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