Computer Science 9608 · 4

Processor fundamentals

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

2016 October-November · Paper 12 · Q5(a)(iii)

Assembly language · 3 marks · official answer ready

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

2016 October-November · Paper 12 · Q5(b)

Assembly language · 6 marks · official answer ready

(b) Complete the trace table below for the following assembly language program. 800 LDD 810 801 INC ACC 802 STO 812 803 LDD 811 804 ADD 812 805 STO 813 806 END … 810 28 811 41 812…

2016 October-November · Paper 13 · Q8(a)(i)

Assembly language · 1 mark · official answer ready

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

2016 October-November · Paper 13 · Q8(a)(ii)

CPU architecture · 3 marks · official answer ready

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

2016 October-November · Paper 13 · Q8(b)(i)

Assembly language · 4 marks · official answer ready

(i) Complete the trace table below for the following assembly language program. This program contains denary values. 100 LDD 800 101 ADD 801 102 STO 802 103 LDD 803 104 CMP 802 10…

2016 October-November · Paper 13 · Q8(b)(ii)

Assembly language · 1 mark · official answer ready

(ii) There is a redundant instruction in the code in part (b)(i). State the address of this instruction. ..........................................................................…

2016 October-November · Paper 13 · Q8(c)(i)

Assembly language · 2 marks · official answer ready

(i) Give two disadvantages of using ASCII code. 1 .................................................................................................................................…

2016 October-November · Paper 13 · Q8(c)(ii)

Assembly language · 2 marks · official answer ready

(ii) Describe how Unicode is designed to overcome the disadvantages of ASCII. .....................................................................................................…

2016 October-November · Paper 41 · Q3

Assembly language · 15 marks · official answer ready

3 The following table shows part of the instruction set for a processor which has one general purpose register, the Accumulator (ACC), and an index register (IX). Instruction Op E…

2016 October-November · Paper 43 · Q3

Assembly language · 15 marks · official answer ready

3 The following table shows part of the instruction set for a processor which has one general purpose register, the Accumulator (ACC), and an index register (IX). Instruction Op E…

2016 May-June · Paper 11 · Q3(a)

CPU architecture · 4 marks · official answer ready

3 (a) Describe how special purpose registers are used in the fetch stage of the fetch-execute cycle. ..............................................................................…

2016 May-June · Paper 11 · Q9(a)(i)

Assembly language · 2 marks · official answer ready

(i) Show the contents of the Accumulator after the execution of the instruction: LDX 60 Accumulator: Show how you obtained your answer. ...........................................…

2016 May-June · Paper 11 · Q9(a)(ii)

Assembly language · 1 mark · official answer ready

(ii) Show the contents of the index register after the execution of the instruction: DEC IX Index register: [1] 14

2016 May-June · Paper 11 · Q9(b)

Assembly language · 7 marks · official answer ready

(b) Complete the trace table on the opposite page for the following assembly language program. 50 LDD 100 51 ADD 102 52 STO 103 53 LDX 100 54 ADD 100 55 CMP 101 56 JPE 58 57 JPN 5…

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

CPU architecture · 4 marks · official answer ready

3 (a) Describe how special purpose registers are used in the fetch stage of the fetch-execute cycle. ..............................................................................…

2016 May-June · Paper 12 · Q9(a)(i)

Assembly language · 2 marks · official answer ready

(i) Show the contents of the Accumulator after the execution of the instruction: LDX 60 Accumulator: Show how you obtained your answer. ...........................................…

2016 May-June · Paper 12 · Q9(a)(ii)

Assembly language · 1 mark · official answer ready

(ii) Show the contents of the index register after the execution of the instruction: DEC IX Index register: [1] 14

2016 May-June · Paper 12 · Q9(b)

Assembly language · 7 marks · official answer ready

(b) Complete the trace table on the opposite page for the following assembly language program. 50 LDD 100 51 ADD 102 52 STO 103 53 LDX 100 54 ADD 100 55 CMP 101 56 JPE 58 57 JPN 5…

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

Assembly language · 1 mark · official answer ready

(a) Show the contents of the index register after the execution of the instruction: INC IX Index register: [1] 6

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

Assembly language · 7 marks · official answer ready

(b) Complete the trace table on the opposite page for the following assembly language program. 20 LDX 90 21 DEC ACC 22 STO 90 23 INC IX 24 LDX 90 25 DEC ACC 26 CMP 90 27 JPE 29 28…