2.3.1 Architecture Flashcards
Inputs
Keyboard
Mouse
Sensors
Computers take data
Process information (CPU)
Output information
Monitor or screen
CPU
Brain of the computer
- fetches instructions from RAM
- decodes instructions
- executes
- contains all other parts of hardware system - hard drives graphics sounds
What does the CPU contain
- control unit
- ALU
- registers
- CACHE memory
- modern computers have several CPUs
control Unit
- sends signals to control movement of data along busses
- controls how instructions are sequences in fetch execute cycle
- directs other parts of the system by sending control signals
ALU
Does the maths
Logical
Mathematical
Registers
- part of CPU
- immediate access store
- memory locations used to help control unit execute lines of code
- work at high speeds
- used in fetch execute cycle
Special purpose registers
- program counter- used to store address in memory RAM of next line of code to be executed
- MAR- location in memory of next line of code
- MDR- holds data held in the address from MAR that is waiting to be executed
- CIR- holds line of code processor currently executing
CACHE memory
- form of RAM that can be read/ written to at much higher speed
- located inside CPU
- stores instructions that CPU most frequently needs.
Program counter
Stores address in memory RAM of next line of code to be executed
MAR
Location in memory of next line of code
MDR
Holds data held in the address from MAR that is waiting to be executed
CIR
holds line of code processor currently executing.
Busses
Communication channels that allow data to flow between computer and components.
- channels that connect all the internal part of CPU together
- and CPU to other parts of the computer
- allow data to be sent and received as pulses of data
Address bus
- sends the address of the location in memory needed by the CPU
- data only flows in one direction
Carries the location in memory to be accessed for reading writing data
Data bus
Carries instructions or data between memory and CPU
Bidirectional flow