1.1 Systems Architecture Flashcards
(12 cards)
Fetch - Decode - Execute cycle
Fetch:
PC is checked for memory address of the next instruction
MAR fetches the instruction from main memory (RAM) and brings it to the MDR
PC Increments by one
Decode:
CU Decodes the instruction
Execute:
Decoded instruction is sent to the CPU so that it is executed
Process is repeated
Factors that affects the speed of a CPU
- Clock Speed
- Cache Size
- Number of cores
What is Virtual Memory? When is it used?
Clock Speed
Measured in Hertz (Number of cycles per second)
Cache Size
It is a temporary storage of data and instructions being read from and written to the main memory (RAM)
Stores copy of frequently used instructions
It is quicker than to read from main memory
Number of cores
More cores = More FDE Cycles at the same time
Does NOT increase the speed of execution of instruction
What is an embedded system?
They are dedicated to a specific task and normally part of a larger system
e.g. DVD Player, Washing Machine, Microwave
PC (Program Counter)
Holds the address of the next instruction to be executed in memory
(MAR) Memory Address Register
Holds the memory address where data is to be fetched from or written to
Accumulator
Holds the result of a calculation
(MDR) Memory Data Register
Holds data fetched from memory or to be written to memory
(ALU) Arithmetic Logic Unit
Performs arithmetic and logical operations