Task 7: Tick the stage in the fetch-execute cycle each process takes place Description ALU performs the arithmetic and logical operations Data is copied from the main memory onto the Data Bus Results of calculations are stored in the Accumulator The address is copied from the PC to the MAR The address is generated by the PC The CU carries the control signals to the input and output devices The data or instruction is executed The data travel on the Data bus to the processor The data/instruction arrives at the MDR The instruction is decoded The program counter is incremented Fetch Decode Execute
FETCH
The Program counter begins at 0000 say which is the first address available in RAM. To store the address of RAM which is current address , the address 0000 is copied to MAR.
Therefore address is generated by PC is in fetch stage and the address is copied from the PC to the MAR, both are in fetch stage.
Subsequently, a signal is transmitted to the RAM via the address bus. The entries of address 0000 are loaded to the memory data register (MDR) through the data bus only after control unit issues a memory read signal.
Therefore, the data/instruction arrives at the MDR and the control signal sends out a memory read signal is in fetch stage.
Being an instruction, the information acquired while in the fetch stage is then copied into the instruction register (IR).
The system has finished up with the fetch stage and will now get the first instruction. And when the next among the fetch cycle is initiated, the system is ready to read the desired instruction by incrementing the program counter by 1.
Therefore, the program counter is incremented is in fetch stage.
Step by step
Solved in 2 steps