fetch-decode-execute cycle Flashcards
(19 cards)
what happens in the fetch part
instruction gets recieved from memory address in the RAM then RAM finds the instructions stored at the address, fetches it and passes it back to the CPU.
what happens in the decode part
the CPU breaks down the instructions into something it can understand. The CPU identifies the operation code (op-code).
what is the execute step
the instruction in the op code is carried out using the data that is fetched. this data can then be used by future instructions or be passed back to the main memory
how many time can the fetch-execute cycle be carried out
several thousand million times in one second
what are the 3 units that make von neumann achitectures
control unit, arithmetic logic unit, memory unit
apart from units what else makes something apart of the Von Neumann architecture
instructions and data share the same memory space
instructions are fetched, decoded and executed one at a time
What does MAR stand for in computer architecture?
Memory Address Register
True or False: The MAR holds the data that is currently being processed.
False
What is the main function of the Memory Address Register (MAR)?
To hold the address of the memory location to be accessed.
Fill in the blank: The MDR stands for __________.
Memory Data Register
What is the role of the Memory Data Register (MDR)?
To hold the data that is being transferred to or from memory.
Which component performs arithmetic and logical operations?
Arithmetic Logic Unit (ALU)
Multiple Choice: Which of the following is NOT a function of the ALU? A) Addition B) Subtraction C) Memory Addressing D) Logical Comparisons
C) Memory Addressing
What does the Program Counter (PC) do?
It holds the address of the next instruction to be executed.
True or False: The PC is updated after each instruction is executed.
True
What happens to the Program Counter (PC) after fetching an instruction?
It increments to point to the next instruction.