Year 10
Lesson details
Key learning points
- 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
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
LDA
STA
Q3.
Which command should you use to stop an assembly language program?
ADD
INP
SUB
4 Questions
Q1.
When the INP statement is run on the LMC, which component holds the data that the user inputs?
Hard drive
MDR
RAM
Q2.
What does the letter A represent in the assembly command - "STA A"?
A command
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
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