Computer Science 9608 · 4

Processor fundamentals

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

Reset
2019 May-June · Paper 11 · Q5(a)

Assembly language · 2 marks · official answer ready

(a) The table contains some of the tasks performed by a two-pass assembler. Tick (✓) one box in each row to indicate whether the task is performed at the first or second pass. The…

2019 May-June · Paper 11 · Q5(b)

Assembly language · 2 marks · official answer ready

(b) The processor’s instruction set can be grouped according to their function. For example, one group is modes of addressing. Identify two other groups of instructions. 1 .......…

2019 May-June · Paper 11 · Q5(c)

Assembly language · 8 marks · official answer ready

(c) The table shows assembly language instructions for a processor which has one general purpose register, the Accumulator (ACC), and an Index Register (IX). Instruction Explanati…

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

CPU architecture · 3 marks · official answer ready

(a) There are three errors in the fetch-execute cycle shown. Identify the line number of each error and give the correction. Line number ..........................................…

2019 May-June · Paper 12 · Q3(c)

Assembly language · 8 marks · official answer ready

(c) The following table shows assembly language instructions for a processor which has one general purpose register, the Accumulator (ACC), and an Index Register (IX). Instruction…

2019 May-June · Paper 13 · Q4(a)

Assembly language · 2 marks · official answer ready

(a) The op codes LDM and LDD are used to load a register. The op code LDM uses immediate addressing, and the op code LDD uses direct addressing. Describe what happens when the fol…

2019 May-June · Paper 13 · Q4(b)

Assembly language · 3 marks · official answer ready

(b) Assembly language instructions can be grouped by their purpose. The following table shows four assembly language instructions. Tick (✓) one box in each row to indicate the gro…

2019 May-June · Paper 13 · Q4(c)(i)

Assembly language · 2 marks · official answer ready

(i) Give one example of a hardware interrupt and one example of a software interrupt. Hardware ....................................................................................…

2019 May-June · Paper 13 · Q4(c)(ii)

Assembly language · 5 marks · official answer ready

(ii) Explain how the processor handles an interrupt. ..............................................................................................................................…

2019 May-June · Paper 31 · Q4(c)(i)

Assembly language · 3 marks · official answer ready

(i) The final stage in the compilation process that follows this code generation stage is code optimisation. Rewrite the equivalent code after optimisation. ......................…

2019 May-June · Paper 31 · Q4(c)(ii)

Assembly language · 2 marks

(ii) Explain why code optimisation is necessary. ..................................................................................................................................…

2019 May-June · Paper 33 · Q4(c)(i)

Assembly language · 3 marks · official answer ready

(i) The final stage in the compilation process that follows this code generation stage is code optimisation. Rewrite the equivalent code after optimisation. ......................…

2019 May-June · Paper 33 · Q4(c)(ii)

Assembly language · 2 marks

(ii) Explain why code optimisation is necessary. ..................................................................................................................................…

2018 October-November · Paper 11 · Q4(a)(i)

Assembly language · 2 marks · official answer ready

(i) State what is meant by direct addressing and indirect addressing. Direct addressing ...........................................................................................…

2018 October-November · Paper 11 · Q4(a)(ii)

Assembly language · 2 marks · official answer ready

(ii) Explain how the instruction ADD 20 can be interpreted as either direct or indirect addressing. Direct addressing .............................................................…

2018 October-November · Paper 11 · Q4(b)

Assembly language · 2 marks · official answer ready

(b) The assembly language instructions in the following table use either symbolic addressing or absolute addressing. Tick (3) one box in each row to indicate whether the instructi…

2018 October-November · Paper 11 · Q4(c)(i)

Assembly language · 1 mark · official answer ready

(i) The contents of X represent an unsigned binary integer. Convert the value in X into denary. ...................................................................................…

2018 October-November · Paper 11 · Q4(d)

Assembly language · 8 marks · official answer ready

(d) The current contents of the main memory, Index Register (IX) and selected values from the ASCII character set are provided with a copy of the instruction set. Address Instruct…

2018 October-November · Paper 12 · Q3(a)(i)

Assembly language · 11 marks · official answer ready

(i) State what is meant by absolute addressing and symbolic addressing. Absolute addressing .......................................................................................…

2018 October-November · Paper 12 · Q3(a)(ii)

Assembly language · 11 marks · official answer ready

(ii) Give an example of an ADD instruction using both absolute addressing and symbolic addressing. Absolute addressing ............................................................…