Computing 9691 · 4

Processor fundamentals

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

Reset
2013 May-June · Paper 32 · Q3(e)

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…

2013 May-June · Paper 33 · Q3(a)

Assembly language · 1 mark · official answer ready

(a) The instruction at address 100 is fetched and executed. Shown are the contents of the For registers after execution. Examiner's Use 100 LD■ 202 101 INC ACC ACC 102 INC ACC 42 …

2013 May-June · Paper 33 · Q3(b)

Assembly language · 2 marks · official answer ready

(b) The instruction at address 103 is fetched. Shown are the contents of the registers after execution. 100 LD■ 202 101 INC ACC ACC 102 INC ACC 38 103 LD■ 203 104 INC ACC 105 LDD …

2013 May-June · Paper 33 · Q3(c)

Assembly language · 1 mark · official answer ready

(c) Refer to the program used in (a) and (b). The instruction at address 105 is fetched and For executed. Examiner's Use Show the contents of ACC after execution. ACC IX [1]

2013 May-June · Paper 33 · Q3(d)

Assembly language · 4 marks · official answer ready

(d) Trace the first two iterations of this assembly language program using the trace table below. 100 LIX 120 101 LDX 200 102 INC ACC 103 OUT 104 INC IX 105 JMP 101 … 120 0 … … 20…

2013 May-June · Paper 33 · Q3(e)

Assembly language · 3 marks · official answer ready

(e) In (d) the program was shown in assembly language. In practice this must be machine For code in order to execute the program. Examiner's Use Explain how the assembler software…

2012 October-November · Paper 32 · Q3(a)(i)

CPU architecture · 1 mark · official answer ready

(i) Describe what is happening at step 4. [1]

2012 October-November · Paper 32 · Q3(a)(ii)

CPU architecture · 1 mark · official answer ready

(ii) Explain how the data bus is used at step 3. [1]

2012 October-November · Paper 32 · Q3(a)(iii)

CPU architecture · 1 mark · official answer ready

(iii) Explain how the address bus is used at step 3. [1] 6

2012 October-November · Paper 32 · Q3(b)(i)

Assembly language · 2 marks · official answer ready

(i) Describe two advantages of using assembly language. 1 2 [2]

2012 October-November · Paper 32 · Q3(b)(ii)

Assembly language · 3 marks · official answer ready

(ii) Describe three specific tasks done by the assembler software. 1 2 3 [3]

2012 October-November · Paper 32 · Q3(c)(i)

CPU architecture · 2 marks · official answer ready

(i) Direct addressing [2]

2012 October-November · Paper 32 · Q5(c)(ii)

CPU architecture · 2 marks · official answer ready

(ii) Explain how the stack is used. [2] 10

2012 May-June · Paper 31 · Q5(a)

Assembly language · 6 marks · official answer ready

(a) Write on the diagram to explain the instruction shown. Show the contents of the Accumulator after the execution of the instruction. LDD 105 Main memory 100 0100 0000 101 0110 …

2012 May-June · Paper 31 · Q5(b)

CPU architecture · 8 marks · official answer ready

(b) Write on the diagram to explain the instruction shown. Show the contents of the registers after the execution of the instruction. LDX 101 Main memory 100 0100 0000 101 0110 10…

2012 May-June · Paper 31 · Q5(c)

Assembly language · 9 marks · official answer ready

(c) Trace this assembly language program using the trace table below. For Examiner's 500 LDD 507 Use 501 INC 502 STO 509 503 LDD 508 504 INC 505 STO 510 506 END 507 22 508 170 509…

2012 May-June · Paper 31 · Q5(d)

Assembly language · 5 marks

(d) Explain the relationship between assembly language instructions and machine code instructions. [1] 14

2012 May-June · Paper 32 · Q5(a)

Assembly language · 6 marks · official answer ready

(a) Write on the diagram to explain the instruction shown. Show the contents of the Accumulator after the execution of the instruction. LDD 105 Main memory 100 0100 0000 101 0110 …

2012 May-June · Paper 32 · Q5(b)

CPU architecture · 8 marks · official answer ready

(b) Write on the diagram to explain the instruction shown. Show the contents of the registers after the execution of the instruction. LDX 101 Main memory 100 0100 0000 101 0110 10…

2012 May-June · Paper 32 · Q5(c)

Assembly language · 9 marks · official answer ready

(c) Trace this assembly language program using the trace table below. For Examiner's 500 LDD 507 Use 501 INC 502 STO 509 503 LDD 508 504 INC 505 STO 510 506 END 507 22 508 170 509…