Year 10
Year 10

Assembly language programming I

Lesson details

Key learning points

  1. In this lesson, we will learn how to write and debug our own assembly language program. The lesson will build us up to this task, first modelling how to translate a piece of Python code into assembly language and examining the types of commands used in assembly language.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
How many input combinations are there for a 3 input truth table?
2
4
6
Correct answer: 8
Q2.
drive = (accelerator or cruise control) and keys - This is an example of what type of logical tool?
Correct answer: A boolean expression
A computer program
A logic diagram
A truth table
Q3.
"The garage door will open if the proximity sensor is activated and the door is not block, or if the button is pressed" - how many logic gates would you need to draw a logic diagram of this expression?
0
1
2
Correct answer: 3

3 Questions

Q1.
Each assembly language can run on how many different types of processors?
All of them
Half of them
Correct answer: Just 1
None
Q2.
I want to take some data from the user in my assembly language program, what command should I use to get the user to enter data?
DAT
Correct answer: INP
LDA
STA
Q3.
Which command should you use to stop an assembly language program?
ADD
Correct answer: HLT
INP
SUB