3.1 computer architecture Flashcards
what is the role of the CPU
processes instructions and data input into computer so result can be output
what is a microprocessor
- integrated circuit contained on single chip
- accepts data into computer & processes into information ready for output
what are the components in a CPU
units: ALU, CU
registers: PC, MAR, MDR, CIR, ACC
buses: address bus, data bus, control bus
purpose of CU
- sends control signals that manage transfer of data and instructions within CPU
- decodes instruction using instruction set
- initiates each step of FDE cycle
purpose of ALU
- perform arithmetic calculations or logical operations
- use ACC to temp store data
purpose of PC
holds memory address of next instruction to be fetched
purpose of MAR
contain address of RAM location to be written to/read from
purpose of MDR
contain data to be written/just read from RAM
purpose of CIR
holds instruction currently being decoded/executed
purpose of ACC
hold temporary values from calculations worked on by ALU
what are registers
small areas of storage in CPU, extremely fast to access
purpose of control bus
- carries control signals from CU to other components
- carries read/write signals from CPU to RAM
purpose of data bus
- bidirectional
- write operation: carry data to be written MDR –> RAM
- read operation: carry data RAM –> MDR
purpose of address bus
- unidirectional
- carry addresses MAR –> RAM
- indicate which address will be selected
what is broad process of FDE cycle
fetch: instruction fetched from RAM –> CPU
decode: instruction decoded by CU to determine what type of instruction it is
execute: instruction executed, usually by ALU