Processor fundamentals
125 questions. Open a question to solve it and check the official answer.
CPU architecture · 4 marks · official answer ready
(b) The sequence of operations below shows the fetch stage of the fetch-execute cycle in register transfer notation. 1. MAR ← [PC] 2. PC ← [PC] + 1 3. MDR ← [[MAR]] 4. CIR ← [MDR]…
Assembly language · 2 marks · official answer ready
(i) LDV 35 Case 1 / Case 2 Explanation ....................................................................................................................... ....................…
Assembly language · 2 marks · official answer ready
(ii) LDD 35 Case 1 / Case 2 Explanation ....................................................................................................................... ...................…
Assembly language · 1 mark · official answer ready
(ii) Consider three assembly language instructions that were given in Question 4. Instruction Explanation Op Code Operand LDD Direct addressing. Load the contents of the given add…
CPU architecture · 20 marks · official answer ready
(i) How many bits are used for each main memory location? [1] The trace table below is used to show how the contents of the special-purpose registers change as the program is exec…
CPU architecture · 24 marks · official answer ready
(ii) Complete the trace table for the fetching of the first program instruction (2150): • Show the changing contents of the registers • Put a tick in the Address bus/Data bus colu…
Assembly language · 23 marks · official answer ready
(d) The following table shows some of a processor’s instruction set in assembly language. For Examiner's Use Instruction Explanation Op Code Operand Direct addressing. Load the co…
CPU architecture · 24 marks · official answer ready
(ii) Describe the steps in the fetch stage of the fetch-execute cycle. Refer to the instruction at address 30 to illustrate your answer. [5] 8
Assembly language · 23 marks · official answer ready
(d) The following table shows some of a processor’s instruction set in assembly language. For Examiner's Use Instruction Explanation Op Code Operand LIX Load the contents of the a…
Assembly language · 34 marks
3 [3] (b) (i) What is the relationship between car and customer? [1] (ii) What is the relationship between depot and car? [1] (c) A database solution is to be developed. Two of th…
Assembly language · 7 marks · official answer ready
3 [3] (d) The following table shows some of a processor’s instruction set in assembly language. For Examiner's Use Instruction Explanation Op Code Operand Direct addressing. Load …
Assembly language · 1 mark · official answer ready
(a) The instruction at address 100 is fetched. Shown are the contents of the registers after execution. 100 LD■ 202 101 INC ACC ACC 102 INC ACC 88 103 LD■ 203 104 INC ACC 105 LDI …
Assembly language · 1 mark · official answer ready
(b) The instruction at address 103 is fetched. Shown are the contents of the registers after execution. ACC 126 IX 2 Which mode of addressing was used by this load instruction at …
Assembly language · 2 marks · official answer ready
(c) The instruction at address 105 is fetched and executed. For Examiner's Use Draw on the diagram to explain how this instruction is executed and show the contents of ACC after e…
Assembly language · 5 marks · official answer ready
(d) Trace this assembly language program using the trace table below. For The user inputs 19 followed by 37. Examiner's Use 100 IN 101 INC ACC 102 STO 109 103 IN 104 INC ACC 105 A…
Assembly language · 3 marks
(e) In (d) the program was shown in assembly language. In practice this must be machine code in order to execute the program. Explain how the assembler software translates a progr…
Assembly language · 1 mark · official answer ready
(a) The instruction at address 100 is fetched. Shown are the contents of the registers after execution. 100 LD■ 202 101 INC ACC ACC 102 INC ACC 88 103 LD■ 203 104 INC ACC 105 LDI …
Assembly language · 1 mark · official answer ready
(b) The instruction at address 103 is fetched. Shown are the contents of the registers after execution. ACC 126 IX 2 Which mode of addressing was used by this load instruction at …
Assembly language · 2 marks · official answer ready
(c) The instruction at address 105 is fetched and executed. For Examiner's Use Draw on the diagram to explain how this instruction is executed and show the contents of ACC after e…
Assembly language · 5 marks · official answer ready
(d) Trace this assembly language program using the trace table below. For The user inputs 19 followed by 37. Examiner's Use 100 IN 101 INC ACC 102 STO 109 103 IN 104 INC ACC 105 A…
