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 | |
|---|---|---|
| 1assembler | Aassembly language -> assembler -> machine code | |
| 2LDA 5 | BAn assembler translates assembly language, not a high-level language. Translating high-level code is the job of a compiler or interpreter. | |
| 3An assembler takes assembly language as input and gives machine code as output | Cassembler output: 10110000 01100001 | |
| 4Machine code produced by the assembler can be run directly by the CPU | DOne assembly mnemonic line that the assembler turns into one machine code instruction | |
| 5An assembler translates a high-level language program into machine code | EA translator that converts an assembly language program into machine code | |
| 6One assembly mnemonic is turned into many machine code instructions by the assembler | FEach mnemonic becomes exactly one machine code instruction, so it is a one-to-one translation, not one-to-many. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
assembler — A translator that converts an assembly language program into machine code, so the CPU can run it. Each mnemonic becomes one machine code instruction.assembly language -> assembler
-> machine codeassembly language -> assembler ->
machine codeLDA #5
ADD #3 ; add 3 to the accumulator
STA 20high-level code -> compiler -> machine codeEach mnemonic becomes one
machine code instruction