Processing Programs Flashcards
How do computers process a program? (4 steps)
- Fetch
- Decode
- Execute
- Writeback
What is a program counter?
Also called IP, contains the address of the location of the instruction being executed at current time
What is a register?
a small set of data holding place that the processor uses.
What is an instruction register?
Part of the CPU’s control unit holding the instruction currently being executed; it holds it while its getting decoded
What is an ALU?
arithmetic logic unit; a digital circuit used to perform arithmetic and logic operations; fundamental part of CPU
Memory Address
primary storage memory space; fixed sequences of digits that has a physical location; CPU uses this address to access
What are the initial steps of the program?
- Program loaded from disk
to RAM - Load instruction from RAM to CPU
What happens after memory content is loaded into a register in order to load the next instruction?
Program Counter increases
Program counter points to what?
Memory address for next set of instructions