3.1 computer architecture Flashcards
(38 cards)
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
- control operation of memory
- sends control signals that manage transfer of data and instructions within CPU
- initiates each step of FDE cycle
purpose of ALU
- perform arithmetic calculations or logical operations
- use ACC to temp store data
purpose of PC
- stores address of next instruction
- to be fetched from memory
purpose of MAR
- store address of instruction
- to retrieve data from specific memory location
purpose of MDR
- store data from address in MDR
- send data to CIR
purpose of CIR
- store instruction
- which CPU currently decoding/executing
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
describe fetch processes in FDE cycle
- PC contain address of next instruction
- contents of PC copied to MAR
- PC incremented by 1
- address bus carries value in MAR –> RAM
- control bus send read signal to RAM
- data bus carries contents of desired RAM address to MDR
- contents of MDR copied to CIR
describe decode processes in FDE cycle
instruction in CIR decoded by CU
describe execute processes in FDE cycle
- instruction sent to ALU to be executed
- ALU may use ACC to temporarily store results
what is stored program concept
- instruction stored in main memory
- instructions fetched, decoded, executed by processor
- programs can be moved to and from main memory
what is memory concpet
- computer’s memory is divided into partitions
- each partition consists of an address and its contents
what is an instruction set
- list of all commands that CPU can process
- commands are in machine code
what is core in CPU
- processor within CPU to carry out FDE cycle
- single core can work on 1 instruction at a time
how does number of cores in CPU affect performance
- multi-core CPU can work on more instructions simultaneously
- helpful for running several tasks at once
- BUT individual programs often have instructions must run in sequence, so do not benefit significantly
what is cache in CPU
extremely high speed memory in CPU, store temporary copies of most commonly accessed RAM locations