cpu architecture (fetch decode execute ) Flashcards
what are the three stages of the fetch decode execute cycle
fetching decoding executing
what happens in the fetch part of the fetch decode execute cycle
PC is loaded with 0
value from pc copied to MAR
data from MAR is sent across the address bus with the instructions for the data sent by the control bus
The data from that location in memory is sent down the data bus to the MDR
pc increments by one
what happens in the decode part of the fetch decode execute cycle
data sent from MDR to CIR where it is split into operand and opcode this is sent to CU to be and sent to the ALU or accumulator
what happens in the execute stage of the fetch decode execute cycler
if a value is being inputted then the ACC (accumulator) stores it if the data is being outputted then the ACC is set to that data currently.
If the data is being loaded from RAM then the data is sent to MDR
If data is being stored then data will be sent from the ACC to the MDR to the RAM by data buses
What is the ACC
the accumulator receives the result of the ALU and acts as a general purpose register
general purpose registers
temporarily stores data in the processor ca be accessed quickly
what is the address bus
the address bus carries the memory location of the register it is going to or from
what is a control bus
a control bus manages the execution of instructions
what is the data bus
A bi-directional bus that carries data and instruction between processor and memory
what is the Harvard architecture
A computer architecture that stores data and instructions in separate memories to allow the next instruction to be read whilst the data is currently being read or written
disadvantage of Harvard architecture
CPU is expensive to manufacture
unoccupied space in memories can not be interchangeably used
what are io controllers
interface that allows processors to connect with input output devices
what is main memory
main memory is a data store for instructions to be directly addressed by the processor
what is a processor
A processor is a complex of transistors capable of executing programs
what is von Neuman architecture
A computer architecture where a single control unit manages program control via a linear sequence of fetch decode execute cycles data and instructions are held in the same memory