3.1.1.5 FDE Cycle & Clock Flashcards

1
Q

fetch

A

Retrieve the next instruction from memory (as indicated by the program counter) and then increment the program counter

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

decode

A

Decode the value in the instruction register, which is a binary sequence, to work out what the instruction requires.

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

execute

A

Perform the action required by the instruction in the instruction register.

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

which components are used at each stage of the FDE cycle

A

F: CPU, RAM, bus
D: CPU
E: CPU

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

opcode

A

an action, such as LOAD, STOP, STORE, ADD etc

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

operand

A

the data that an opcode acts upon

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

How does the CPU know whether a binary sequence is an instruction, or just an item of data?

A

instructions and data are fetched at different times in the FDE cycle. Instructions are received in the “Fetch” part, whilst data might be fetched during the “Execute” part

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

pipelining

A

is a method of keeping all the components busy so as to improve overall CPU performance.
Pipelining attempts to keep every component of the CPU busy at all times.
Instructions flow through the CPU in stages.
This means that an instruction can be completed every clock cycle. This increases CPU throughput allowing overall performance to be optimised.
A CPU is called ‘fully pipelined’ if an instruction can be fetched every clock cycle

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

FDE cycle in full

A

Instructions are loaded into RAM from secondary memory.
The instructions are stored in RAM in numbered memory locations.
The CPU sends a signal along the address bus requesting an instruction from a specific numbered location in RAM.
The instruction is transferred via the data bus to the CPU.
The CPU decodes the instruction.
The CPU may fetch data held in memory if referenced in the instruction.
The CPU executes the instruction.
The result may be stored back into RAM.
The cycle repeats

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

where is clock located

A

outside of CPU

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

clock speed

A

The clock speed is the number of clock pulses, and hence number of instructions a single processor can carry out per second.
It is measured in hertz (meaning ‘number per second’).
The higher the clock speed, the more cycles a CPU can complete per second.
Obviously the higher the clock speed the faster programs are executed.

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

clock function

A

When a CPU receives a clock signal, it will execute one instruction per cycle.
The clock emits pulses at fixed intervals (tiny fractions of a second), and these are used to coordinate and synchronise the activities of the CPU.

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

What factors apart from the speed of a processor affect the speed at which a computer executes programs?

A

what the processor is made of
how many ‘cores’ a processor has got
how much work is performed in one clock cycle

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

benchmarking

A

it gets two computers to complete the same task (e.g. calculate a complex Excel spreadsheet or run a certain section of a game) and then compares their performance (e.g. time taken or frames dropped).

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