Which assembly language instruction is used to read input from a device?
GCSE Unit 2 Prep - Assembly language and logic gates

Quiz
•
Computers
•
10th Grade
•
Easy

Andrew Dawson
Used 3+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
INP
OUT
STA
LDA
Answer explanation
The INP instruction in assembly language is used to read input from a device or input port. It allows the program to receive data from an external source, such as user input or another device connected to the system.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to send output to a device?
INP
OUT
STA
LDA
Answer explanation
The OUT instruction in assembly language is used to send output to a device or output port. It allows the program to send data to an external destination, such as a display or another device connected to the system.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to store the value in the accumulator to a memory location?
INP
OUT
STA
LDA
Answer explanation
The STA instruction in assembly language is used to store the value in the accumulator to a memory location. It allows the program to save the contents of the accumulator to a specific memory address for future use.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to load a value from a memory location into the accumulator?
INP
OUT
STA
LDA
Answer explanation
The LDA instruction in assembly language is used to load a value from a memory location into the accumulator. It allows the program to retrieve data from a specific memory address and store it in the accumulator for further processing.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to perform addition?
INP
OUT
ADD
SUB
Answer explanation
The ADD instruction in assembly language is used to perform addition. It allows the program to add the value in the specified memory location or immediate operand to the contents of the accumulator.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to perform subtraction?
INP
OUT
ADD
SUB
Answer explanation
The SUB instruction in assembly language is used to perform subtraction. It allows the program to subtract the value in the specified memory location or immediate
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to halt or stop the program execution?
BRA
HLT
DAT
SUB
Answer explanation
The HLT instruction in assembly language is used to halt or stop the program execution. When encountered, it terminates the program and prevents any further instructions from being executed.
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
GCSE Computing Low & High Level Languages/IDE's

Quiz
•
10th - 11th Grade
10 questions
1.1.2 Von Neumann Architecture

Quiz
•
1st - 10th Grade
10 questions
Programming - High Level Code & Machine Code

Quiz
•
2nd - 11th Grade
15 questions
Computer Science ALevel

Quiz
•
10th - 12th Grade
15 questions
2.5 Languages and IDEs

Quiz
•
10th - 11th Grade
13 questions
High and Low Level Languages and Translators

Quiz
•
10th - 12th Grade
17 questions
Programming Languages

Quiz
•
9th - 12th Grade
18 questions
OCR GCSE Computer Science: 1.1 Architecture (Part 2)

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University