Processor fundamentals
161 questions. Open a question to solve it and check the official answer.
CPU architecture · 5 marks · official answer ready
(b) Describe the stages of the fetch-execute (F-E) cycle. .........................................................................................................................…
Assembly language · 1 mark
(i) The instruction CMP 201 has the operand 201. Convert the operand 201 into 8-bit binary. [1]
Assembly language · 1 mark · official answer ready
(ii) State the maximum number of op codes that can be represented using eight bits. ...............................................................................................…
CPU architecture · 4 marks · official answer ready
2 The following diagram shows four register notations and seven descriptions. Draw one line from each register notation to its most appropriate description. Register notation Desc…
Assembly language · 1 mark
(i) The instruction JPE 59 has the operand 59. Convert the operand 59 into 8-bit binary. [1]
Assembly language · 1 mark
(ii) Convert the denary value 59 into hexadecimal. ................................................................................................................................…
Assembly language · 2 marks · official answer ready
(d) The assembly language program uses direct and indirect addressing. Identify two other modes of addressing used in an assembly language program. 1 .............................…
Assembly language · 2 marks · official answer ready
(b) Identify two modes of addressing that are not used in the assembly language program given. 1 ..................................................................................…
Assembly language · 1 mark · official answer ready
(i) The instruction LDX 234 has the operand 234. Convert the operand 234 into 8-bit binary. [1]
Assembly language · 1 mark
(ii) Convert the denary value 234 into hexadecimal. ...............................................................................................................................…
CPU architecture · 3 marks · official answer ready
(d) The fetch-execute (FE) cycle is shown in register transfer notation. Complete the FE cycle using register transfer notation. .................................... ← [PC] PC ← .…
Assembly language · 4 marks · official answer ready
(i) These assembly language instructions check for an error in the container 1 system. LDD 300 AND &88 CMP &88 JPE ERROR Explain the purpose of each instruction. .................…
Assembly language · 3 marks · official answer ready
(ii) Write the assembly language instructions to check for an error in the container 4 system. ....................................................................................…
Assembly language · 4 marks · official answer ready
(i) These assembly language instructions check for an error in the greenhouse 1 system. LDD 700 AND &88 CMP &88 JPE ERROR Explain the purpose of each instruction. ................…
Assembly language · 3 marks · official answer ready
(ii) Write the assembly language instructions to check for an error in the greenhouse 2 system. ...................................................................................…
Assembly language · 4 marks · official answer ready
(i) These assembly language instructions check for an error in the container 1 system. LDD 300 AND &88 CMP &88 JPE ERROR Explain the purpose of each instruction. .................…
Assembly language · 3 marks · official answer ready
(ii) Write the assembly language instructions to check for an error in the container 4 system. ....................................................................................…
Assembly language · 6 marks · official answer ready
6 The table shows assembly language instructions for a processor that has one general purpose register, the Accumulator (ACC), and an Index Register (IX). Instruction Label Op Ope…
Assembly language · 5 marks · official answer ready
8 The table shows assembly language instructions for a processor that has one general purpose register, the Accumulator (ACC), and an Index Register (IX). Instruction Explanation …
Assembly language · 6 marks · official answer ready
6 The table shows assembly language instructions for a processor that has one general purpose register, the Accumulator (ACC), and an Index Register (IX). Instruction Label Op Ope…
