processor fundamentals Flashcards
von neumann architecture
consists of a single shared, memory for programs and data
control unit
- directs and co-ordinates other parts of computer system
- controls operations for computer system
- fetches computer instructions
- decodes each instruction
- executes the instruction
arithmetic logic unit
- a unit which performs arithmetic operations
- and bit shifting operations
- logic operations (AND, OR, XOR)
- designed to perform integer calculation
operand
part of the computer instruction which specifies what data is to be processed
opcode
the instruction executed by the CPU
register
- small piece of memory
- part of the processor
- temporary storage of data which is about to be or has been processed
general purpose register
holds the temporary data while performing different operations
special register
holds the status of the program
program counter
stores the address of the next instruction to be fetched
memory address register (MAR)
stores the memory address where data is to be read from
memory data register (MDR)
stores data that has just been read from memory
current instruction register (CIR)
stores the instruction that is currently being executed
index register (IX)
used for indirect addressing
accumulator
a register that temporarily stores arithmetic and logic data
status register
interpreted as independent flags, each flag is set depending on an event
system clock
- internal clock that regulates the rate at which instructions are executed
- used to synchronize all operations
data bus
- carries data between processor and memory
- bi-directional
- used to exchange data
address bus
- uni-directional
- carries signal related to memory address
- between processor and memory
control bus
- transmits signals between control unit and other components
- bi-directional
factor affecting computer performance: data bus width
- determines number of bits that can be simultaneously transferred
- increasing width increases number of bits that can be transferred
- increasing improves processing speed as fewer transfers are needed
factor affecting computer performance: clock speed
- one F-E cycle is run on each pulse
- clock speed dictates the no. of instructions that can be run per second
factor affecting computer performance: cache memory
- can improve processor performance, similar to RAM, cache uses SRAM