Processor fundamentals
57 questions. Open a question to solve it and check the official answer.
Bit manipulation · 3 marks · official answer ready
(b) The processor includes these bit manipulation instructions: Instruction Explanation Opcode Operand AND #n/Bn/&n Bitwise AND operation of the contents of ACC with the operand B…
Assembly language · 4 marks · official answer ready
(a) The current contents of memory are shown: Address Data 48 51 49 6 50 48 51 50 52 49 53 50 54 6 The current contents of the ACC and IX are shown: ACC 2 IX 50 Complete the table…
Bit manipulation · 3 marks · official answer ready
(b) The processor includes these bit manipulation instructions: Instruction Explanation Opcode Operand AND #n/Bn/&n Bitwise AND operation of the contents of ACC with the operand B…
CPU architecture · 4 marks · official answer ready
(a) The Memory Data Register (MDR), Index Register (IX) and the Accumulator (ACC) are examples of special purpose registers. Identify two other special purpose registers and state…
Assembly language · 3 marks · official answer ready
(i) Give one example of an instruction that belongs to each of the following instruction groups. Only use the instructions given in the table. Each instruction must have a suitabl…
Assembly language · 2 marks · official answer ready
(ii) The instruction LDR #2 uses immediate addressing. Give one similarity and one difference between direct addressing and indexed addressing. Similarity ........................…
Assembly language · 1 mark · official answer ready
(iii) Identify one other mode of addressing. ......................................................................................................................................…
Assembly language · 4 marks · official answer ready
(a) The instructions in the processor’s instruction set can be grouped according to their function. Identify the instruction group for each of the following opcodes. IN ..........…
CPU architecture · 4 marks · official answer ready
(b) The following incomplete table contains steps of the Fetch‑Execute (F‑E) cycle and their descriptions. Complete the table by writing the missing steps using register transfer …
Assembly language · 3 marks · official answer ready
(a) The program is converted into machine code by a two‑pass assembler. Draw one or more lines to identify the pass or passes in which each action takes place. Action Pass generat…
Assembly language · 3 marks · official answer ready
(b) Assembly language statements can use different modes of addressing. Complete the following description of addressing modes. ............................................ addres…
CPU architecture · 2 marks · official answer ready
(c) Complete the table by writing the register transfer notation for each stage of the Fetch-Execute (F-E) cycle given in the table. Stage description Register transfer notation T…
Assembly language · 5 marks · official answer ready
(a) Trace the program currently in memory using the trace table, stopping when line 90 is executed for a second time. Address Instruction Instruction Memory address ACC IX address…
Assembly language · 1 mark · official answer ready
(i) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. XOR B00011111 .............................…
Assembly language · 1 mark · official answer ready
(ii) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. AND 50 ...................................…
Assembly language · 1 mark · official answer ready
(iii) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. LSL #3 ..................................…
Assembly language · 1 mark · official answer ready
(iv) The current contents of the ACC are: 0 1 0 1 0 0 1 1 Show the contents of the ACC after the execution of the following instruction. OR 51 ....................................…
CPU architecture · 3 marks · official answer ready
(c) Write the register transfer notation for each of the stages in the fetch-execute cycle described in the table. Description Register transfer notation Copy the address of the n…
CPU architecture · 2 marks · official answer ready
(i) State the roles of the following registers. Memory Address Register (MAR) ..................................................................................... ...............…
Assembly language · 4 marks · official answer ready
(i) Trace the program currently in memory using the trace table. Instruction Memory address Address Instruction ACC IX Output LDR #0 address 100 101 110 111 112 75 76 LDD 100 1 0 …
