system architecture Flashcards
components inside the cpu
Alu
CU
cache
registers
name the different registers
accumulator
memory address register
program counter
memory data register
what does alu do
performs calculations and logical decisions
what does cu/control unit do
sends signals to control how data moves around the cpu
what does cache do
provides fast access to frequently used instructions and data
what does the register program counter do
holds the address of the next instruction to be executed in memory
memory address register
holds the address of where data is to be fetched or stored
memory data register
holds the data fetched from memory or about to be written to memory
accumlator
holds the results of calculations
fetch execute cycle in detail
fetch-the program counter is checked as it holds the address of the next instruction to be executed. this address is used by memory address register in order to fetch the instruction needed from main memory and bring it into memory data register. the address in the program counter is incremented to point at the next instruction.
decode-now the instruction is in the cpu the control unit decodes the instruction to see what has to be done
execute-now we know what to do we can execute the instruction