1.1.1.Characteristics of contemporary processors (chp 1) Flashcards

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

Arithmetic Logic Unit (ALU)

A

The ALU completes all of the arithmetical and logical operations. Including all math operations i.e. addition, subtraction with floating numbers.
Logic operations include boolean logic operations such as AND OR NOT.

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

The Control Unit (CU)

A
  • Controls and coordinates the activities of the CPU
  • Manages the flow of data between the CPU and other devices
  • Accepting the next instruction
  • Decoding instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Registers

A

Small memory cells that operate at a very high speed. They’re used to temporarily store data and all arithmetic, logical and shift operations occur in these registers.

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

Program Counter (PC)

A

holds the address of the next instruction to be executed.

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

Accumulator (ACC)

A

stores results from calculations performed by the ALU

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

Memory Address Register (MAR)

A

holds address of a location that is to be read from or written to.

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

Memory Data Register (MDR)

A

temporarily stores data that has been read or data that needs to be written.

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

Current Instruction Register (CIR)

A

holds the current instruction being executed , divided up into operand and opcode.

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

Buses

A
  • set of parallel wires which connects two or more components inside the CPU.
  • width of the bus is the no. of parallel wires that bus has
  • width is proportional to the no. of bits that can be transferred simultaneously at any given time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Address Bus

A
  • used to transmit the memory addresses specifying where data is to be sent to or retrieved from.
  • the width of the address bus is proportional to the number of addressable memory locations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Data Bus

A
  • bi-directional bus

- used for transporting data and instructions between components.

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

Control Bus

A
  • bi-directional bus used to transmit control signals between internal and external components.
  • it coordinates the use of the address and data buses and provide status info between system components.
  • sends control signals.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Assembly Language

A
  • low level language that is next level up from machine code. It uses mnemonics to represent machine code, making it easier to remember and use.
  • commands from assembly language are processor specific
  • one to one relationship with specific assembler.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

LDA

A

means to load the value in a memory location into the accumulator.

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

STA

A

means to store the value in the accumulator into a given memory location.

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

Fetch- decode - execute cycle.

A

Fetch:
1. PC copies address of next instruction to MAR
2.MAR places address of the next instruction on address bus
3.CU triggers a read signal that causes RAM to place the instruction being asked for on the data bus.
4.The instruction on data bus is loaded into the MDR.
5.MDR copies the instruction to CIR.
Decode:
6.CPU examines instruction in CIR and decodes it using decode unit - issues a series of micro-instructions
Execute:
7.The instruction within the CIR is executed by CPU (execute unit)
Reset:
8.Now that the CPU is executing an instruction, the program counter can be reset to point to the next instruction.

17
Q

Pipelining

A

The process of completing the fetch-decode-execute cycles of three separate instructions simultaneously. While one instruction is being executed, another can be decoded and another fetched.
-reduces the amount of the CPU that is kept idle.

18
Q

Clock speed (how it affects performance)

A
  • Clock speed is the time taken for one FDE cycle to complete.
  • Greater the clock speed, the more calculations can be carried out per second and therefore the greater the clock cycle
19
Q

No. of cores (how it affects performance)

A
  • A core is an independent processor that is able to run its own FDE cycle.
  • Not necessarily speeding it up, it just allows you to carry out more instructions at the same time.
  • not all programs are able to utilise multiple cores efficiently as they are not designed to do so.
20
Q

Amount of Cache (its affect on CPU performance)

A

-instructions from main memory are copied to cache so if required, they can be accessed quicker. As cache fills up, unused instructions are replaced.

21
Q

What is the Von Neumann Architecture

A

-includes the basic components of the computer and processor in which a shared memory and shared data bus is used for both data and instructions.

22
Q

What is the Harvard Architecture

A
  • it has physically separate memories and buses for instructions and data, more commonly used with embedded processors.
  • This is useful for when memories have different characteristics i.e. only red.
23
Q

Advantages of Von Neumann Architecture

A
  • cheaper to develop as the control unit is easier to design
  • programs can be optimised in size
  • it follows the FDE
24
Q

Advantages of Harvard Architecture

A
  • quicker execution as data and instructions can be fetched in parallel
  • memories can be of different sizes, which can make more efficient use of space.
  • pipelining (+explanation)
25
Q

Contemporary processing

A

-contemporary processors use a combination of Harvard and Von Neumann architecture. Von Neumann is used when working with data and instructions in main memory, but uses Harvard architecture to divide the cache into instruction cache and data cache.