1.1 Systems Architecture Flashcards
Computer
An electronic device which takes an input, decodes and outputs a set of instructions given by the user.
Purpose of the CPU
To fetch, decode and execute instructions.
What is the FDE Cycle
A repetitive cycle where the CPU fetches, decodes and executes instructions given by the user.
Events that take place during the FDE Cycle
- The CPU receives an instruction from memory.
- The CPU decodes the instruction.
- The decoded instruction is executed.
- The PC is incremented.
- The process is repeated.
CPU Components
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Cache
- Registers
ALU
Responsible for carrying out all arithmetic calculations and making logical decisions.
CU
Sends signals to control how data moves around the CPU.
Cache
Provides fast access to data and instructions that are used frequently.
CPU Registers
- Program Counter (PC)
- Memory Address Register (MAR)
- Memory Data Register (MDR)
- Accumulator (ACC)
What are registers?
Tiny, superfast pieces of onboard memory inside the CPU.
PC
Holds the address of the next instruction in memory.
MAR
Holds the address of where data is to be fetched or stored.
MDR
Holds the data fetched from, or to be written to memory
ACC
Holds the results of calculations performed in the CPU
Von Neumann Architecture
Processor architecture that stores both instruction data and program data in the same memory in binary form.
There is no way to know if the pure binary represents instructions or data.