1.1.1 structure and function of the processor Flashcards

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

what does the ALU do

A

completes all the arithmetic and logical operations

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

what is a register

A

small memory cells that operate at high speeds

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

what is the CU

A

a part of the processor that directs operations of the CPU

Directs flow of data between the
CPU and other devices.

Sends memory read and write requests to main memory on the control bus, as well as other command and control signals such as bus requests, bus grants, interrupt requests, etc.

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

What does the PC do

A

Holds the address of the next instruction to be executed.

• This could be:

the next instruction in a sequence of instructions; or

the address to jump to if the current instruction is a
command to jump or branch - this would be copied from the current Instruction register.

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

what does the MAR do

A

This holds the address of the memory location from which data; or an instruction
is to be fetched or data is to be written.

• Sends these address to memory down the address bus.

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

what does the MDR do

A

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

All data to and from memory must travel down the data bus and pass through the MDR.

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

what does the CIR

A

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

The contents of the MDR are copied to the CIR if it is an instruction.

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

what is a bus

A

a set of parallel wires connecting two or more components together.

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

what is a systems bus

A

the collection of the data bus, address bus and control bus is called the system bus

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

what is the width of the bus

A

the number of parallel wires it has

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

what is a data bus

A

a bidirectional bus used to transport data and instructions between components

Carries the binary 1s and Os that make up the actual information being transmitted around the CPU/computer.

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

what is a control bus

A

the bi-directional bus used to transmit control signals between internal and external components

Craig n dave
Carries command and control signals to and from every other component of the CPU/computer.

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

what is the address bus used for

A

used to transfer the memory address specifying where data is to be sent and retrieved from

Craig n dave
Carries memory addresses that identify where the data is being read from or written to.

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

what does adding a wire to the address bus do to the number of addressable locations.

A

it doubles number of addressable locations

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

what does bus request indicate

A

indicates a device is requesting access to the data bus

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

what does a bus grant indicate

A

indicates the CPU has granted access to the data bus

15
Q

what does memory write do

A

causes the data in the data bus to be written into the addressed location.

16
Q

what does memory read do

A

causes the data from the addressed location to be placed onto the data bus

17
Q

what does the interrupt control signal indicate

A

indicates that a device is requesting access to the CPU

18
Q

what is the clock control signal for

A

it is used to synchronize instructions

19
Q

what is assembly language

A

assembly language is a programming language where mnemonics are used to represent instructions

20
Q

what is opcode

A

opcode is used to determine the type of instruction and what hardware to use to execute it.

21
Q

what is operand

A

the operand is the address of where the operation is preformed

22
Q

what occurs during the fetch phase

A
  • the address from the pc is copied to the MAR
    -instruction held at that address is copied to the MDR via data bus the pc then increments by 1
    -value of MDR is copied to the CIR
23
Q

what occurs during the decode phase

A

The content of the CIR is split into the opcode and operand

24
Q

what occurs during the execute phase

A

the opcode is executed on the data

25
Q

what is clock speed

A

the number of clock cycles completed per second

26
Q

what is cache memory

A

cache memory is the CPUs onboard memory which can be accessed a lot faster than main memory

27
Q

what is pipelining

A

the process of completing the fetch, decode and execute of three separate instructions simultaneously

28
Q

what is the von Neumann architecture

A

there is a single shared memory and shared data bus for both data and instructions.

  • Shared memory space for instructions and data.

-Instructions and data are stored in the same format.

-A single control unit or processor follows a linear fetch, decode, execute cycle.

-One instruction at a time.

-Registers are used as fast access to instructions and data.

29
Q

what is Harvard architecture

A

architecture in which there is two separate memory and data buses for data and instructions.

-Instructions and data stored in separate memory units.

-Each has its own bus.

-Reading and writing data can be done at the same time as fetching an instruction.

-Used by RISC processors.

30
Q

what is contemporary processing

A

processing in which von Neumann architecture is used for main memory. Cache uses Harvard architecture, divided into instruction cache and data cache.

31
Q

number of cores

A

a core in very simple terms is a complete copy of a CPU.
CPUs with multiple cores have much more power to run multiple programs at the same time

32
Q

Accumulator

A

One of a number of general-purpose registers that modern CPUs have.

Data or control information is often stored in them.

A CPU may have many general-purposes registers for storing temporary data while instructions or calculations are being carried out

Typically, the more general-purpose registers a processor has, the faster it may operate.

The results of calculations carried out by the ALU can be temporarily stored here.

33
Q

Why is pipelining good

A

Without pipelining the various different steps in the F-D-E cycle have to take place one after the other.
Not efficient use of memory

By using pipelining the next instruction can be fetched while, at the same time, the processor is performing arithmetic or logic operations in the ALU for a previous instruction.

In this way we can make efficient use of the various registers and on board
CPU cache and it allows different parts of instructions across multiple stages to be held in different registers at the same time