Question 1
5 marksDid your answer earn the marks?
11 original exam-style questions - 5 pages of questions with a full mark scheme - free printable PDF.
| Opcode | Mnemonic | Meaning |
|---|---|---|
| 1xx | (i) | Add the value in mailbox xx to the accumulator |
| (ii) | SUB | Subtract the value in mailbox xx from the accumulator |
| 3xx | STA | (iii) |
| 5xx | LDA | Load the value in mailbox xx into the accumulator |
| (iv) | BRA | Branch always: set the program counter to xx |
| 7xx | (v) | If the accumulator is zero, set the program counter to xx |
| (vi) | BRP | If the accumulator is zero or positive, set the program counter to xx |
| 901 | (vii) | Input a value from the in-tray into the accumulator |
| (viii) | HLT | Stop the program executing |
This checks your answers in your browser, stores nothing on a server and needs no account.