Computing 9691 · 4

4.2 Assembly language

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

Reset
2016 May-June · Paper 33 · Q3(a)(i)

Assembly language · 2 marks · official answer ready

(i) Describe what this instruction does. ..........................................................................................................................................…

2016 May-June · Paper 33 · Q3(a)(ii)

Assembly language · 1 mark

(ii) Write this instruction in hexadecimal. .......................................................................................................................................…

2016 May-June · Paper 33 · Q3(a)(iii)

Assembly language · 1 mark · official answer ready

(iii) Give a reason why programmers prefer to write machine code instructions in hexadecimal. .....................................................................................…

2016 May-June · Paper 33 · Q3(a)(iv)

Assembly language · 2 marks · official answer ready

(iv) Write the binary pattern for the instruction: Store the contents of the Accumulator at address 90 (denary). [2]

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

Assembly language · 6 marks · official answer ready

(b) The user runs the following program and inputs the numbers 76, followed by 79 and 87. Trace the execution of the program by completing the trace table. ,1 287&+ 67, ,1& ,1& /'…

2016 May-June · Paper 33 · Q4(b)(i)

Assembly language · 2 marks · official answer ready

(i) STO 139 Case 1 / Case 2 ........................................................................................................................................... ...........…

2016 May-June · Paper 33 · Q4(b)(ii)

Assembly language · 2 marks · official answer ready

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

2015 October-November · Paper 31 · Q4(a)

Assembly language · 4 marks · official answer ready

4 (a) The following table shows some assembly language instructions from the computer’s instruction set. Instruction Explanation Op code Operand Direct addressing. Load the conten…

2015 October-November · Paper 31 · Q4(b)

Assembly language · 4 marks · official answer ready

(b) A program written in assembly language needs translation before it can be executed. A programmer creates, translates and executes an assembly language program. Five of the six…

2015 October-November · Paper 32 · Q3(a)

Assembly language · 4 marks · official answer ready

3 (a) The following table shows some assembly language instructions from the computer’s instruction set. Instruction Explanation Op code Operand Direct addressing. Load the conten…

2015 October-November · Paper 32 · Q3(b)

Assembly language · 5 marks · official answer ready

(b) A program written in assembly language needs translation before it can be executed. A programmer creates, translates and executes an assembly language program. Five of the six…

2015 October-November · Paper 33 · Q4(a)

Assembly language · 4 marks · official answer ready

4 (a) The following table shows some assembly language instructions from the computer’s instruction set. Instruction Explanation Op code Operand Direct addressing. Load the conten…

2015 October-November · Paper 33 · Q4(b)

Assembly language · 4 marks · official answer ready

(b) A program written in assembly language needs translation before it can be executed. A programmer creates, translates and executes an assembly language program. Five of the six…

2015 May-June · Paper 31 · Q6(a)

Assembly language · 1 mark · official answer ready

(a) State the type of diagram shown. .........................................................................................[1]

2015 May-June · Paper 31 · Q6(b)

Assembly language · 7 marks · official answer ready

(b) Use the following list to identify the labels 1 to 7 on the diagram opposite. Two of the items on the list will not be used. • Error report • Linker • Loader • Machine code • …

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

Assembly language · 4 marks · official answer ready

7 .............................................................................................................................................. [3] 9 3 (e) Integers can be repres…

2015 May-June · Paper 32 · Q6(a)

Assembly language · 1 mark · official answer ready

(a) State the type of diagram shown. .........................................................................................[1]

2015 May-June · Paper 32 · Q6(b)

Assembly language · 7 marks · official answer ready

(b) Use the following list to identify the labels 1 to 7 on the diagram opposite. Two of the items on the list will not be used. • Error report • Linker • Loader • Machine code • …

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

Assembly language · 4 marks · official answer ready

7 .............................................................................................................................................. [3] 9 3 (e) Integers can be repres…

2014 October-November · Paper 31 · 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…