4 - processor fundamentals Flashcards
von neuman archirtecrue
- there is a processor - CPU
- processor has direct access to memory
- memory contains a stored program and data required by the program
- stored program consists of individual instructions
- the processor executes instructions sequentially
components of the CPU
- CU
- registers
- ALU
- cache
clock
used to synchronise processes
internal clock - controls cycles of activity within the processor
system clock - controls activities outside of the processor
- has a defined freq for its clock cycle (clock speed) - defines the minimum time separating successive activities
registers
- close so quick access
- used for storage
- general purpose or specific (accumulator is the only general purpose)
ALU
– carries out arithmetic and logical operations such as mathematical operations and comparisons or Boolean logic
control unit
– coordinates the operations of a computer – communicates with components
accumulator - ACC
a general purpose register that stores a value before/after execution of an instruction by the ALU
CIR
stores the current instruction while it is being decoded and executed
IX
stores a value - only used for index addressing
MAR
stores address of a memory location or an I/O device
MDR
stores data that has just been read from or is about to be written to memory
PC
stores the adress of where the next instruction is to be read from
SR
contains bits that are either set or cleared which can be referenced individually
system bus
- buses transfer data between components
- each wire carries a single bit
- connects CPU to memory and I/O devices
- address, controll and data