Processor fundamentals
161 questions. Open a question to solve it and check the official answer.
Assembly language · 4 marks · official answer ready
(b) Name two sensors that could be used in this intruder detection system. Give a reason for your choice. Sensor 1 ................................................................…
Assembly language · 4 marks · official answer ready
(i) Dry run the assembly language code. Start at LOOP and finish when EXIT is reached. BITREG COUNT VALUE ACC B00001010 0 1 [4]
Assembly language · 2 marks · official answer ready
(iii) The intruder detection system is improved and now has eight sensors. One instruction in the assembly language code will need to be amended. Identify this instruction .......…
Assembly language · 4 marks · official answer ready
(b) Name two sensors that could be used in this intruder detection system. Give a reason for your choice. Sensor 1 ................................................................…
Assembly language · 4 marks · official answer ready
(i) Dry run the assembly language code. Start at LOOP and finish when EXIT is reached. BITREG COUNT VALUE ACC B00001010 0 1 [4]
Assembly language · 2 marks · official answer ready
(iii) The intruder detection system is improved and now has eight sensors. One instruction in the assembly language code will need to be amended. Identify this instruction .......…
Assembly language · 4 marks · official answer ready
(b) Name two sensors that could be used in this intruder detection system. Give a reason for your choice. Sensor 1 ................................................................…
Assembly language · 4 marks · official answer ready
(i) Dry run the assembly language code. Start at LOOP and finish when EXIT is reached. BITREG COUNT VALUE ACC B00001010 0 1 [4]
Assembly language · 2 marks · official answer ready
(iii) The intruder detection system is improved and now has eight sensors. One instruction in the assembly language code will need to be amended. Identify this instruction .......…
CPU architecture · 4 marks · official answer ready
(b) State the role of each of the following special purpose registers used in a typical processor. Program Counter ................................................................…
CPU architecture · 4 marks · official answer ready
(b) State the role of each of the following special purpose registers used in a typical processor. Program Counter ................................................................…
Assembly language · 2 marks
(ii) Rewrite the equivalent code given above to show the effect of it being processed through this final stage. ...................................................................…
Assembly language · 2 marks
(iii) State two benefits of the compilation process performing this final stage. Benefit 1 ........................................................................................…
Assembly language · 0 marks
(iii) These lines of code are to be compiled: X A + B Y A + B + C Following the syntax analysis stage, object code is generated. The equivalent code, in assembly language, is show…
Assembly language · 2 marks
(ii) Rewrite the equivalent code given above to show the effect of it being processed through this final stage. ...................................................................…
Assembly language · 2 marks
(iii) State two benefits of the compilation process performing this final stage. Benefit 1 ........................................................................................…
Assembly language · 10 marks
8 : : 1999 2000 [2] (ii) Another procedure call is made: Add("Drive", "Laufwerk") Explain the problem that occurs when this key-value pair is saved. ..............................…
Assembly language · 15 marks
(i) Dry-run this assembly language program using the trace table. 500 LDD 512 501 ADD 509 502 STO 512 503 LDD 511 504 INC ACC 505 STO 511 506 CMP 510 507 JPN 500 508 END 509 7 510…
Assembly language · 12 marks
(ii) Explain the role address 511 has in this assembly language program. ..........................................................................................................…
Assembly language · 18 marks
(i) Complete the pseudocode. 01 TRY 02 OPENFILE ........................................................................................................... 03 EXCEPT 04 ..........…
