Question 7

AQA Computer Science June 2025 Paper 2 (7517/2)A level10 marks

On the specification

7.1
3.7 Fundamentals of computer organisation and architecture
7.2
3.7 Fundamentals of computer organisation and architecture
7.3
3.7 Fundamentals of computer organisation and architecture
7.4
3.5 Fundamentals of data representation3.7 Fundamentals of computer organisation and architecture
Question text

7 1 box . State the stored program concept. [2 marks] 7.2 Describe the roles of the following three components of a processor. [6 marks] Control unit General purpose registers Status register A particular processor represents machine code instructions in 32 bits. The number of bits allocated to the opcode varies depending upon the operation that the instruction represents. The remaining bits are allocated to the operands. An instruction can have between zero and three operands. Figure 3 shows the format of an ADD instruction in assembly language and machine code. Figure 3 ADD Instruction: ADD R2, R5, #17 Opcode Operands Basic Machine Operation M Operand A Operand B Operand C 11 1 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 • Operand A and Operand B are register numbers. • The bit labelled M in Opcode indicates the addressing mode to use for Operand C. • Operand C can refer to either a register number or a numeric value, depending upon the addressing mode that is being used. 7.3 All of the processor’s general purpose registers can be referenced using each of the operands in the ADD instruction in Figure 3. Calculate the maximum number of general purpose registers that the processor could have. [1 mark] 7 4 box . When the immediate addressing mode is used: • the value in Operand C in Figure 3 represents a numeric value that will be processed by the ADD instruction • the value in Operand C is represented as a two’s complement binary integer. In decimal, calculate the range of numbers that Operand C can represent. [1 mark] Most positive Most negative 10