Question 4(e) 2017 · October-November · Paper 12 · 6 marks
Reveal official mark-scheme answer

Official answer for Question 4
Part (e)
Question 6
Show text version of question
Question 4
Part (e)
Question 4
The following diagram shows the components and buses found inside a typical personal computer
(PC).
A
B
F
E
Control unit
Main memory
Part (e)
The program given in part
Part (d)
is to be translated using a two-pass assembler. The program
has been copied here for you. Label Instruction StartProg: LDV #Offset CMP Value JPE EndProg OUTCH LDD Offset INC STO Offset JMP StartProg EndProg: END Offset: 10
Question 50
Question 65
Question 89
Question 32
Value: 32
On the first pass, the assembly process adds entries to a symbol table.
The following symbol table shows the first five entries, part way through the first pass.
The circular labels show the order in which the assembler made the entries to the symbol table.
Complete the symbol table. Use circular labels to show the order in which the assembler makes the entries.
Symbol table
Symbolic address Relative address
StartProg 1 0 2
Offset 3 UNKNOWN 4
Value 5
Question 9
Why this question appears here
71% assigned-topic match · Processor fundamentals › Assembly language
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9608_w17_qp_12.pdf
