Computing 9691 · 4

Processor fundamentals

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

Reset
2014 October-November · Paper 32 · Q4(a)(ii)

Assembly language · 2 marks · official answer ready

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

2014 October-November · Paper 32 · Q4(a)(iii)

Assembly language · 1 mark · official answer ready

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

2014 October-November · Paper 32 · Q4(a)(iv)

Assembly language · 1 mark · official answer ready

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

2014 October-November · Paper 32 · Q4(a)(v)

Assembly language · 2 marks · official answer ready

(v) Show the 16-bit machine code for the following instruction: JPE 204 [2]

2014 October-November · Paper 32 · Q4(a)(vi)

Assembly language · 2 marks · official answer ready

(vi) A programmer makes the statement: “For this instruction set, some of the instructions do not require an operand” Circle if this statement is true or false. Explain your choic…

2014 October-November · Paper 32 · Q4(b)

Assembly language · 5 marks · official answer ready

(b) Use the ASCII code table to trace execution of the given program. ASCII code table (part) Character Decimal Character Decimal Character Decimal 32 I 73 R 82 A 65 J 74 S 83 B 6…

2014 October-November · Paper 32 · Q5(a)

Assembly language · 2 marks · official answer ready

5 (a) An assembler translates assembly language programs. A compiler translates high-level language programs. They each do this for programs written in a particular language and f…

2014 October-November · Paper 32 · Q5(b)

Assembly language · 5 marks · official answer ready

(b) In the early stages of program development, a source program usually has errors. Each statement below (labelled A, B, C, D, E, F, G and H) describes one step in the developmen…

2014 October-November · Paper 32 · Q6(a)

CPU architecture · 4 marks · official answer ready

6 (a) The sequence of operations below shows the fetch stage of the fetch-execute cycle in register transfer notation. 1. MAR ← [PC] 2. PC ← [PC] + 1 3. MDR ← [[MAR]] 4. CIR ← [MD…

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 …