Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1LDA 20 | ALDA 7 (written for one processor type) | |
| 2STO 35 | BMnemonics are machine dependent. They only work on processors that use the same instruction set. | |
| 3A mnemonic is easier for a programmer to remember than the binary instruction it stands for | CA mnemonic with an operand: it stores the accumulator value into memory address 35 | |
| 4Assembly language is machine dependent, so mnemonics only work on the type of processor they were written for | DA mnemonic stands for exactly one machine code instruction, not a group of them. | |
| 5Each mnemonic such as ADD stands for a whole group of 10 machine code instructions | EADD 12 | |
| 6Mnemonics like LDA and STO will run on any computer because they are not binary | FA mnemonic with an operand: it loads the value stored at address 20 into the accumulator |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
mnemonic — A short, memorable code in assembly language, such as LDA, ADD or STO, that stands for one machine code instruction and is easier to remember than binary.LDA 20
ADD 21
STO 22LDA 20
ADD 21
STO 22LDA 20
ADD 21
STO 22LDA 20 ; load from address 20
ADD 21 ; add value at address 21
STO 22 ; store in address 22LDA 20
; LDA is a mnemonic for one instruction
STO 22