The table shows part of the instruction set for a processor. The processor has one general purpose register, the Accumulator (ACC), and an Index Register (IX). Opcode LDM #n LDD <address> STO <address> ADD <address> INC | <register> DEC | <register> CMP <address> JPE <address> JPN <address> JMP <address> IN OUT END Instruction Operand Immediate addressing. Load the number n to ACC Direct addressing. Load the contents of the location at the given address to ACC Store contents of ACC at the given address Add the contents of the given address to the ACC Add 1 to the contents of the register (ACC or IX) Subtract 1 from the contents of the register (ACC or IX) Compare the contents of ACC with the contents of <address> Following a compare instruction, jump to <address> if the compare was True Following a compare instruction, jump to <address> if the compare was False Jump to the given address Key in a character and store its ASCII value in ACC Output to the screen the character whose ASCII value is stored in ACC Return control to the operating system Explanation # denotes a denary number, e.g. #123 The current contents of the main memory and selected values from the ASCII character set are: Address 70 71 72 73 74 75 76 77 78 79 80 81 82 83 Instruction IN CMP 100 JPE 80 CMP 101 JPE 76 JMP 80 LDD 102 INC ACC STO 102 JMP 70 LDD 102 DEC ACC STO 102 JMP 70 ... 100 68 101 65 102 100 ASCII code table (selected codes only) ASCII code 65 66 67 68 Character A B C D
✓ Correct Answer
The correct answer is —. This question tests the candidate's understanding of processor architecture and assembly language within the Computer Sciencesyllabus. The examiner's mark scheme requires...
📋 Examiner Report & Trap Analysis
Common mistake: 62% of candidates selected the distractor because they confused... The examiner specifically designed this question to test whether students can differentiate between... To secure full marks, candidates must demonstrate...
Unlock the Examiner's Answer
Sign up for free to reveal the correct answer, the official mark scheme breakdown, and the examiner trap analysis for this question.
Sign Up Free to Unlock →Join thousands of Cambridge students already using Oracle Prep