Fundamentals of computer systems Flashcards
What is the Arithmatic and Logic Unit
Carries out arithmatic and logic operation the operands in computer instruction words
Fetch -Decode-execute cycle
This is how a computer central processing unit(CPU) carries out program instruction
Fetch
This is the stage where the CPU fetches the next instruction from memory.
decode
once the instruction is fed and stored in the IR , the cpu needs to understand what operation the instruction is commanding it to perform this is the decode stage
Execute
Now that the instruction has been decoded ,the CPU proceeds to execute it. the action in this stage can involve either arithmetic or logical operations ,data transfers between registers and memory ,branching to a different part of the program,or other actions as specified by the instructions .this stage may also involve updating the program counter .
Memory/RAM
An array of bytes/words . It reads and writes bytes/words
Control Unit
In charge of deciding what’s the next step for the unit
Registers
Very fast memory on the CPU.Small amounts of fast memory