From Paper 2 (written)
3.15 marks
Describe the fetch stage of the fetch–decode–execute cycle, referring to the registers used.
MOV R0, #0 MOV R1, #1loop: ADD R0, R0, R1 ADD R1, R1, #1 CMP R1, #5 BLT loop STR R0, 100 HALTTrace this program (AQA instruction set) and state the value stored in memory location 100. Explain the purpose of the program.This paper is written by Plasmo in the style of the AQA A-Level Computer Science exam. It is not a past paper and is not produced or endorsed by the exam board.