Computing 9691 · 4

4.2 Assembly language

86 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2014 October-November · Paper 32 · Q6(c)(i)

Assembly language · 2 marks · official answer ready

(i) LDD 78 Case 1 / Case 2 Explanation: ....................................................................................................................... ...................…

2014 October-November · Paper 32 · Q6(c)(ii)

Assembly language · 2 marks · official answer ready

(ii) INC ACC Case 1 / Case 2 Explanation: ....................................................................................................................... .................…

2014 October-November · Paper 33 · Q4(a)(i)

Assembly language · 2 marks · official answer ready

(i) The instruction at address 102 is fetched. 100 LDI 150 ACC 101 OUTCH 102 LDD 203 103 INC ACC 104 STO 150 IX 105 JP 100 106 END 107 Show the contents of the registers after exe…

2014 October-November · Paper 33 · Q4(a)(ii)

Assembly language · 3 marks · official answer ready

(ii) The instruction at address 100 is fetched. 200 65 ACC 201 76 202 65 203 77 204 32 IX 205 32 Show the contents of the registers after execution. Write on the diagram to explai…

2014 October-November · Paper 33 · Q4(b)(i)

Assembly language · 1 mark · official answer ready

(i) What is the maximum number of different instructions this processor could have? ...............................................................................................…

2014 October-November · Paper 33 · Q4(b)(ii)

Assembly language · 2 marks · official answer ready

(ii) Consider the instruction: Describe what this instruction does. ...............................................................................................................…

2014 October-November · Paper 33 · Q4(b)(iii)

Assembly language · 1 mark · official answer ready

(iii) Programmers prefer to write machine code instructions in hexadecimal. Explain why. ..........................................................................................…

2014 October-November · Paper 33 · Q4(b)(iv)

Assembly language · 1 mark · official answer ready

(iv) What is the hexadecimal number for the instruction shown in part (b)(ii)? ................................................... [1] Show the machine code for the following inst…

2014 October-November · Paper 33 · Q4(b)(v)

Assembly language · 2 marks · official answer ready

(v) LDI 150 [2]

2014 October-November · Paper 33 · Q4(b)(vi)

Assembly language · 2 marks · official answer ready

(vi) LDV 15 [2]

2014 October-November · Paper 33 · Q4(c)

Assembly language · 5 marks · official answer ready

(c) Use the ASCII code table to trace the first four iterations of the given program. ASCII code table (part) Character Decimal Character Decimal Character Decimal 32 I 73 R 82 A …

2014 October-November · Paper 33 · Q5(d)(i)

Assembly language · 2 marks · official answer ready

(i) LDV 35 Case 1 / Case 2 Explanation ....................................................................................................................... ....................…

2014 October-November · Paper 33 · Q5(d)(ii)

Assembly language · 2 marks · official answer ready

(ii) LDD 35 Case 1 / Case 2 Explanation ....................................................................................................................... ...................…

2014 October-November · Paper 33 · Q6(b)(ii)

Assembly language · 1 mark · official answer ready

(ii) Consider three assembly language instructions that were given in Question 4. Instruction Explanation Op Code Operand LDD Direct addressing. Load the contents of the given add…

2013 October-November · Paper 31 · Q3(d)

Assembly language · 23 marks · official answer ready

(d) The following table shows some of a processor’s instruction set in assembly language. For Examiner's Use Instruction Explanation Op Code Operand Direct addressing. Load the co…

2013 October-November · Paper 32 · Q3(d)

Assembly language · 23 marks · official answer ready

(d) The following table shows some of a processor’s instruction set in assembly language. For Examiner's Use Instruction Explanation Op Code Operand LIX Load the contents of the a…

2013 October-November · Paper 33 · Q3

Assembly language · 34 marks

3 [3] (b) (i) What is the relationship between car and customer? [1] (ii) What is the relationship between depot and car? [1] (c) A database solution is to be developed. Two of th…

2013 October-November · Paper 33 · Q3(d)

Assembly language · 7 marks · official answer ready

3 [3] (d) The following table shows some of a processor’s instruction set in assembly language. For Examiner's Use Instruction Explanation Op Code Operand Direct addressing. Load …

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

Assembly language · 1 mark · official answer ready

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

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

Assembly language · 1 mark · official answer ready

(b) The instruction at address 103 is fetched. Shown are the contents of the registers after execution. ACC 126 IX 2 Which mode of addressing was used by this load instruction at …