Lesson details

Key learning points

  1. In this lesson, we will complete one last project for the unit: we will be given a set of requirements and tasked with designing an assembly language program to meet the requirements.

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.
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

4 Questions

Q1.
When the INP statement is run on the LMC, which component holds the data that the user inputs?
Correct answer: Accumulator
Hard drive
MDR
RAM
Q2.
What does the letter A represent in the assembly command - "STA A"?
A command
Correct answer: A memory location
A register
Data
Q3.
When the command "STA A" is executed, the data in the accumulator will be stored. Which device will it be stored on?
A register
Correct answer: RAM
ROM
SSD
Q4.
What does the command HLT do to an assembly program when it is executed?
Branch it to the end of the program
Outputs the data in the accumulator
Sets up a data location
Correct answer: Stops it

Lesson appears in

UnitComputing / Computer Systems

Computing