1.1.1 Flashcards
CPU
processes data and is where all the sorting, searching, calculating and decision making takes place
two components of the CPU
arithmetic logic unit (carries out calculations) and control unit (responsible for decoding instructions)
cache
high speed memory located located close to the CPU and stores frequently used data
registers
memory locations within the CPU and can be accessed very quickly, they are nothing but storage
types of von neumann architecture
-accumulator
-memory address register
-memory data register
-program counter
accumulator
stores results of calculations made by ALU
instruction register
stores most recently fetched instruction while it is waiting to be decoded and executed
memory address register
stores the location of where the data needs to be fetched and used by the MDR
memory data register
stores data of the address location which is in MAR
program counter
holds the address of the next instruction to be executed
what is von neumann architecture?
he created the ‘‘stored program”, the CPU can changes task simply by loading a different program into memory- no rewiring needed
fetch-decode-execute cycle
- program instructions are copied from storage to RAM
- program counter holds address for next instructions to fetch
- value in program counter is copied to MAR
- control unit locates and fetches data
- if it’s instruction it’s placed in the IR
- program counter is incremented by one
- instruction in IR is decoded by control unit
- instruction is executed by placing a request for data into MAR for data to be collected and copied to MDR
- if it’s data it’s placed in MDR