Professional Documents
Culture Documents
Chapter 6 Teaching Guidance
Chapter 6 Teaching Guidance
Introduction
The syllabus has defined the following learning objective relating to this topic:
show understanding of the relationship between assembly language and machine code.
Teaching guidance
Introducing the topic
You need a simple presentation.
Differentiation
Supporting learners
Learners could answer Question 1 in Worksheet 6.1.
Challenging learners
Use the introduction to section 6.02 in the coursebook to get learners thinking the binary coding used for a
machine code instruction.
Further reading
https://www.webopedia.com/TERM/M/machine_language.html
http://www.linfo.org/machine_code.html
https://whatis.techtarget.com/definition/machine-code-machine-language
Introduction
The syllabus has defined the following learning objective relating to this topic:
describe the different stages of the assembly process for a two-pass assembler.
This topic can be taught in isolation. It does not underpin the content in the remaining two topics of this chapter.
If you think it would be suitable to teach your students beyond the core content, please refer to the
Differentiation section.
Teaching guidance
Introducing the topic
You will need a presentation explaining how machine code instructions will be created by the translation process.
The presentation should discuss the issue of defining addresses for these machine code instructions.
The presentation should then describe how a two-pass assembler can handle symbolic addresses by using a
symbol table. The program contained in Section 6.03 of the coursebook chapter could be used as an example.
Language awareness
Learners should be warned that, in the A Level content they will learn that a symbol table is used by a compiler as
well as by an assembler. The two different types should not be confused.
Further reading
http://www.entcengg.com/two-pass-assemblers/
Introduction
The syllabus has defined the following learning objectives relating to this topic:
show understanding of modes of addressing
show understanding that the set of instructions are grouped into instructions for:
o data movement
o input and output of data
o arithmetic operations
o unconditional and conditional jumps
o comparisons
show understanding of, and perform, binary shifts.
To improve learners’ understanding, explain the subtle difference between the two contexts for considering
addressing. The first of these relates to the identification of the memory addresses used by the assembly
language program. The second relates to how an operand address is identified for a particular instruction.
The syllabus provides an example of an instruction set. However, learners should be advised that some questions
may introduce other instructions for which the definition will be included in the question. If learners have already
been exposed to a different definition (or are likely to be) then they need to be aware of the differences. Learners
must understand that, in any situation, an instruction will have a precise definition which must not be ignored.
Learners are not expected to remember this instruction set.
You may choose to postpone instructions for bitwise operations until the next chapter. However, if you do so, you
should, at that stage, emphasise that these are used in many different contexts, not just in association with
monitoring and control systems.
Differentiation
Supporting learners
Ask learners to answer Questions 3 and 4 from Worksheet 6.1.
Introduction
The syllabus has defined the following learning objective relating to this topic:
trace a given simple assembly language program.
Introduce learners to the ways in which they will be expected to apply their knowledge and understanding.
Differentiation
Supporting learners
Ask learners to answer Questions 5, 6 and 7 in Worksheet 6.1.
Challenging learners
Ask learners to answer Questions 2, 3 and 4 in Worksheet 6.2.