Processor fundamentals
161 questions. Open a question to solve it and check the official answer.
Assembly language · 2 marks · official answer ready
(ii) Explain why the operand of the instruction labelled Q1 has the value 32. .....................................................................................................…
Assembly language · 10 marks · official answer ready
(b) Six values are stored, starting at the location VALUES. A program is needed to divide each of the values by 8 and store them back in their original location. Write this progra…
Assembly language · 11 marks · official answer ready
(i) Name an appropriate project management tool that helps the manager to work out the estimated length of time it takes for the project to complete. .............................…
Assembly language · 13 marks · official answer ready
(ii) Explain how, during the planning stage of the project, the manager would use the tool you named in part (a)(i). ..............................................................…
Assembly language · 11 marks · official answer ready
(i) Different programmers have been writing independent modules. The modules now need to be combined to create the final system. Name the type of testing required at this stage. .…
Assembly language · 11 marks · official answer ready
(ii) Name the final testing stage required before the system becomes operational. .................................................................................................…
Assembly language · 3 marks · official answer ready
(b) Each machine code instruction is encoded as 16-bits (8-bit op code followed by an 8-bit operand). Write the machine code for the following instructions: LDM #17 LDX #97 [3]
Assembly language · 2 marks · official answer ready
(ii) A second instruction has been written in hexadecimal as: 05 3F Write the equivalent assembly language instruction, with the operand in denary. ...............................…
Assembly language · 3 marks · official answer ready
(b) Each machine code instruction is encoded as 16 bits (8-bit op code followed by an 8-bit operand). Write the machine code for these instructions: LDM #67 LDX #7 [3]
Assembly language · 2 marks · official answer ready
(ii) A second instruction has been written in hexadecimal as: 16 4D Write the assembly language for this instruction with the operand in denary. ..................................…
Assembly language · 3 marks · official answer ready
(b) Each machine code instruction is encoded as 16-bits (8-bit op code followed by an 8-bit operand). Write the machine code for the following instructions: LDM #17 LDX #97 [3]
Assembly language · 2 marks · official answer ready
(ii) A second instruction has been written in hexadecimal as: 05 3F Write the equivalent assembly language instruction, with the operand in denary. ...............................…
Assembly language · 1 mark · official answer ready
(i) Show the contents of the Accumulator after execution of the instruction: LDD 802 Accumulator: [1] 11
CPU architecture · 3 marks · official answer ready
(ii) Show the contents of the Accumulator after execution of the instruction: LDX 800 Index Register: 0 0 0 0 1 0 0 1 Accumulator: Explain how you arrived at your answer. ........…
Assembly language · 4 marks · official answer ready
(i) Complete the trace table below for the following assembly language program. This program contains denary values. 100 LDD 800 101 ADD 801 102 STO 802 103 LDD 803 104 CMP 802 10…
Assembly language · 1 mark · official answer ready
(ii) There is a redundant instruction in the code in part (b)(i). State the address of this instruction. ..........................................................................…
Assembly language · 2 marks · official answer ready
(i) Give two disadvantages of using ASCII code. 1 .................................................................................................................................…
Assembly language · 2 marks · official answer ready
(ii) Describe how Unicode is designed to overcome the disadvantages of ASCII. .....................................................................................................…
Assembly language · 1 mark · official answer ready
(i) Show the contents of the Accumulator after the execution of the instruction: LDD 102 ACC: [1]
Assembly language · 2 marks · official answer ready
(ii) Show the contents of the Accumulator after the execution of the instruction: LDX 101 IX: 0 0 0 0 0 1 0 0 ACC: Explain how you arrived at your answer. ........................…
