1.1 Systems Architecture Flashcards
The fetch-decode-execute cycle
The complete process of retrieving an instruction from storage, decoding it and carrying it out.
The Fetch step
-The program counter holds the address of the next instruction
-The address is copied in the MAR
-the address bus goes to the value in the MAR
-the data in the location is sent along the data bus and into the MDR
-data is copied into the instruction register
The Decode step
-Works out what the instructions mean
The Execute step
-A signal is sent along an address bus to the memory location
-data is transferred along a data bus to the accumulator
-the program counter increments by 1
CPU
The Central Processing Unit
-The internal hardware component of the computer that is responsible for executing the instructions of programs and to control the rest of the computer system
-consists of six main components: CU, ALU, registers, cache, buses, clock
ALU
Performs calculations and logical comparisons in the CPU
CU
The Control Unit
-It decodes instructions and sends signals to control how data moves around the CPU.
Cache
Memory in the processors that provides fast access to frequently used instructions and data
-speeds up processing time as the data and instructions don’t have to be fetched directly from RAM.
Registers
Tiny areas of extremely fast memory located in the CPU, normally designed for a specific purpose where data or control information is stored temporarily. Includes the program counter, MAR, MDR, accumulator, instruction register
-8-bit CPU has 8 bit registers
How do registers increase processing speed
-used to hold temporary data while a software program is running
-as the CPU processes the data, the software program will shift data in and out of the registers as it is easier than in and out of cache or RAM - speeds up processing time
Program counter
Holds the address of the next instruction. Step 1 of the fetch-execute cycle
-as each instruction is processed, the software that is running updates the program counter with the address of the next instruction to fetch.
MAR
Memory Address Register. Holds the address of data ready to be used by the MDR or the address of an instruction passed from the program counter.
-Every instruction data in main memory is located at a unique address
MDR
Memory Data Register. Holds data fetched from or to be written to memory. Step 2 of the fetch-execute cycle.
Accumulator
Holds the result of calculations.
Clock
The clock is the electronic unit that synchronizes related components by generating pulses at a constant rate.
-single tick - CPU processing one instruction