Fetch Decode Execute Cycle Flashcards

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

Define Arithmetic Logic Unit (ALU)

A

Performs calculations like ADD, OR and shift operators

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

Define Control Unit (CU)

A

Coordinates activities in CPU, memory and peripherals

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

Define Clock

A

Continuous sequence of clock pulses to help CU through its operations

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

Define registers

A

Fast chip memory for temporary storage of binary values

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

Define Program Counter (PC)

A

Holds address of next instruction to be executed.

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

Define Current Instruction Register (CIR)

A

Stores current instruction being run (in binary)

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

Define General Purpose registers

A

Have no specific purpose. Can store binary numbers. Often used as temporary storage when performing arithmetic functions.

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

Define Memory Address Register (MAR)

A

Holds address of memory location from which data will be read from or written to. This is processors direct connection to address bus for accessing main memory. Either address of next instruction or address of data to be used in an instruction

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

Define Memory Buffer Register (MDR)

A

Temporarily stores data read from or written to memory.
Processors direct connect to data bus for accessing main memory. Can be next instruction to be fetched, or data to be used in a instruction

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

Define Status Register (SR)

A

Contain bit that are set (1) or cleared (0) depending on result of instruction. One bit is set so an overflow could occur.

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

Define Accumulator

A

Mainly used as register in CPU to store intermediate logical or arithmetical data in multistep calculations

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

What is the fetch stage

A
  1. Contents of PC copied into MAR
  2. Passes address to MAR along the address bus
  3. PC is incremented for next instruction
  4. The CU does a memory read operation, allowing data of memory location to return along data bus back to the MDR
  5. Contents in MDR is copied to the CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the decode stage

A
  1. Data in MDR passed to the CU which then decodes instructions, then signals other components the instruction to be completed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the execute stage

A
  1. Instruction executed, using ALU, or loading/saving data to/from main memory, if needed
  2. SR is then updated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Define an interrupt

A

A signal sent to processor from a program/external device that halts other processes until it is dealt with
If many occur at once deals with them in priority
Test for interrupts happen at end of FDE cycle

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

Where does an interrupt signal go through

A

The control bus to the processor

17
Q

Define interrupt register

A

Each bit in Interrupt register indicate a specific interrupt

18
Q

How does computer handle an interrupt

A

Suspends what its doing, by storing contents of key registers on system stack. So once finished with interrupt can restore values from correct place.

19
Q

What is meant by Storing the volatile environment

A

The storing of key registers

20
Q

What is the Interrupt Service Routine (ISR)

A

A piece of code for each different type of interrupt.

21
Q

What are interrupt Vectors

A

Address that inform interrupt handlers where to find IRS. With all interrupts assigned number 0 to 255.
There is a vector table that has the code and so this is used to locate the memory address of appropriate code to run