Computer Science For First Examination In 2021 9618 · 4

Processor fundamentals

57 questions. Open a question to solve it and check the official answer.

2024 May-June · Paper 12 · Q5(b)

Bit manipulation · 3 marks · official answer ready

(b) The processor includes these bit manipulation instructions: Instruction Explanation Opcode Operand AND #n/Bn/&n Bitwise AND operation of the contents of ACC with the operand B…

2024 May-June · Paper 13 · Q3(a)

Assembly language · 4 marks · official answer ready

(a) The current contents of memory are shown: Address Data 48 51 49 6 50 48 51 50 52 49 53 50 54 6 The current contents of the ACC and IX are shown: ACC 2 IX 50 Complete the table…

2024 May-June · Paper 13 · Q3(b)

Bit manipulation · 3 marks · official answer ready

(b) The processor includes these bit manipulation instructions: Instruction Explanation Opcode Operand AND #n/Bn/&n Bitwise AND operation of the contents of ACC with the operand B…

2023 October-November · Paper 11 · Q5(a)

CPU architecture · 4 marks · official answer ready

(a) The Memory Data Register (MDR), Index Register (IX) and the Accumulator (ACC) are examples of special purpose registers. Identify two other special purpose registers and state…

2023 October-November · Paper 11 · Q8(b)(i)

Assembly language · 3 marks · official answer ready

(i) Give one example of an instruction that belongs to each of the following instruction groups. Only use the instructions given in the table. Each instruction must have a suitabl…

2023 October-November · Paper 11 · Q8(b)(ii)

Assembly language · 2 marks · official answer ready

(ii) The instruction LDR #2 uses immediate addressing. Give one similarity and one difference between direct addressing and indexed addressing. Similarity ........................…

2023 October-November · Paper 11 · Q8(b)(iii)

Assembly language · 1 mark · official answer ready

(iii) Identify one other mode of addressing. ......................................................................................................................................…

2023 October-November · Paper 12 · Q9(a)

Assembly language · 4 marks · official answer ready

(a) The instructions in the processor’s instruction set can be grouped according to their function. Identify the instruction group for each of the following opcodes. IN ..........…

2023 October-November · Paper 13 · Q9(b)

CPU architecture · 4 marks · official answer ready

(b) The following incomplete table contains steps of the Fetch‑Execute (F‑E) cycle and their descriptions. Complete the table by writing the missing steps using register transfer …

2023 May-June · Paper 12 · Q3(a)

Assembly language · 3 marks · official answer ready

(a) The program is converted into machine code by a two‑pass assembler. Draw one or more lines to identify the pass or passes in which each action takes place. Action Pass generat…

2023 May-June · Paper 12 · Q3(b)

Assembly language · 3 marks · official answer ready

(b) Assembly language statements can use different modes of addressing. Complete the following description of addressing modes. ............................................ addres…

2023 May-June · Paper 13 · Q7(c)

CPU architecture · 2 marks · official answer ready

(c) Complete the table by writing the register transfer notation for each stage of the Fetch-Execute (F-E) cycle given in the table. Stage description Register transfer notation T…

2022 October-November · Paper 12 · Q7(a)

Assembly language · 5 marks · official answer ready

(a) Trace the program currently in memory using the trace table, stopping when line 90 is executed for a second time. Address Instruction Instruction Memory address ACC IX address…

2022 October-November · Paper 12 · Q7(b)(i)

Assembly language · 1 mark · official answer ready

(i) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. XOR B00011111 .............................…

2022 October-November · Paper 12 · Q7(b)(ii)

Assembly language · 1 mark · official answer ready

(ii) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. AND 50 ...................................…

2022 October-November · Paper 12 · Q7(b)(iii)

Assembly language · 1 mark · official answer ready

(iii) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. LSL #3 ..................................…

2022 October-November · Paper 12 · Q7(b)(iv)

Assembly language · 1 mark · official answer ready

(iv) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. OR 51 ....................................…

2022 October-November · Paper 12 · Q7(c)

CPU architecture · 3 marks · official answer ready

(c) Write the register transfer notation for each of the stages in the fetch-execute cycle described in the table. Description Register transfer notation Copy the address of the n…

2022 October-November · Paper 13 · Q4(a)(i)

CPU architecture · 2 marks · official answer ready

(i) State the roles of the following registers. Memory Address Register (MAR) ..................................................................................... ...............…

2022 October-November · Paper 13 · Q6(a)(i)

Assembly language · 4 marks · official answer ready

(i) Trace the program currently in memory using the trace table. Instruction Memory address Address Instruction ACC IX Output LDR #0 address 100 101 110 111 112 75 76 LDD 100 1 0 …