Computer Science 9608 · 4

Processor fundamentals

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

2015 October-November · Paper 42 · Q8(b)(ii)

Assembly language · 18 marks

(ii) Explain the reason for including lines 01, 03, 04, 05. .......................................................................................................................…

2015 May-June · Paper 11 · Q8(c)

CPU architecture · 6 marks · official answer ready

(c) The table shows six stages in the von Neumann fetch-execute cycle. Put the stages into the correct sequence by writing the numbers 1 to 6 in the right hand column. Sequence De…

2015 May-June · Paper 12 · Q8(c)

CPU architecture · 6 marks · official answer ready

(c) The table shows six stages in the von Neumann fetch-execute cycle. Put the stages into the correct sequence by writing the numbers 1 to 6 in the right hand column. Sequence De…

2015 May-June · Paper 13 · Q2

Assembly language · 5 marks · official answer ready

2 Assemblers translate from assembly language to machine code. Some assemblers scan the assembly language program twice; these are referred to as two-pass assemblers. The followin…

2015 May-June · Paper 13 · Q5(b)(i)

CPU architecture · 1 mark · official answer ready

(i) Describe what is happening at step 2. .........................................................................................................................................…

2015 May-June · Paper 13 · Q5(b)(ii)

CPU architecture · 1 mark · official answer ready

(ii) Describe what is happening at step 3. ........................................................................................................................................…

2015 May-June · Paper 13 · Q5(b)(iii)

CPU architecture · 1 mark · official answer ready

(iii) Describe what is happening at step 4. .......................................................................................................................................…

2015 May-June · Paper 13 · Q5(c)

CPU architecture · 2 marks · official answer ready

(c) Describe what happens to the registers when the following instruction is executed: LDD 35 .....................................................................................…

2015 May-June · Paper 13 · Q7(a)(i)

Assembly language · 1 mark · official answer ready

(i) Show the contents of the Accumulator after execution of the instruction: LDD 121 Accumulator: [1]

2015 May-June · Paper 13 · Q7(a)(ii)

Assembly language · 3 marks · official answer ready

(ii) Show the contents of the Accumulator after execution of the instruction: LDI 124 Accumulator: Explain how you arrived at your answer. ........................................…

2015 May-June · Paper 13 · Q7(a)(iii)

CPU architecture · 3 marks · official answer ready

(iii) Show the contents of the Accumulator after execution of the instruction: LDX 120 Index Register: 0 0 0 0 0 1 1 0 Accumulator: Explain how you arrived at your answer. .......…

2015 May-June · Paper 13 · Q7(b)

Assembly language · 6 marks

(b) Trace the assembly language program using the trace table. 300 LDD 321 301 INC 302 STO 323 303 LDI 307 304 INC 305 STO 322 306 END 307 320 320 49 321 36 322 0 323 0 Trace tabl…

2015 May-June · Paper 31 · Q5(d)(i)

Assembly language · 4 marks · official answer ready

(i) The accumulator is loaded with the value of byte 1 from location 106. Write the assembly language instruction to check whether the reading in byte 2 came from location 4. LDD …

2015 May-June · Paper 31 · Q5(d)(ii)

Assembly language · 2 marks · official answer ready

(ii) Write the assembly language instruction to set the flag (bit 0) of the byte contained in the accumulator to 1. ...............................................................…

2015 May-June · Paper 31 · Q7(d)(i)

Assembly language · 8 marks

7 6 5 4 3 2 1 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 Byte 1 Byte 2 .....................................................................................................................…

2015 May-June · Paper 31 · Q7(d)(ii)

Assembly language · 6 marks

7 6 5 4 3 2 1 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 Byte 1 Byte 2 .....................................................................................................................…

2015 May-June · Paper 32 · Q5(d)(i)

Assembly language · 4 marks · official answer ready

(i) The accumulator is loaded with the value of byte 1 from location 106. Write the assembly language instruction to check whether the reading in byte 2 came from location 4. LDD …

2015 May-June · Paper 32 · Q5(d)(ii)

Assembly language · 2 marks · official answer ready

(ii) Write the assembly language instruction to set the flag (bit 0) of the byte contained in the accumulator to 1. ...............................................................…

2015 May-June · Paper 32 · Q7(d)(i)

Assembly language · 8 marks

7 6 5 4 3 2 1 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 Byte 1 Byte 2 .....................................................................................................................…

2015 May-June · Paper 32 · Q7(d)(ii)

Assembly language · 6 marks

7 6 5 4 3 2 1 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 Byte 1 Byte 2 .....................................................................................................................…