
UNIT 2 PROGRAMMING IN 8086-S1
Authored by jeevanantham v
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of addressing modes in 8086 assembly?
To provide flexibility in accessing operands and optimize instruction execution.
To enhance the security of the code.
To simplify the instruction set architecture.
To limit the number of available registers.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List three types of data transfer instructions in 8086.
ADD
SUB
MOV, PUSH, POP
MUL
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between arithmetic and logical instructions.
Arithmetic instructions perform string manipulations, whereas logical instructions are for numerical comparisons.
Arithmetic instructions are used for data storage, while logical instructions are for memory management.
Arithmetic instructions are only applicable in programming languages, while logical instructions are used in hardware design.
Arithmetic instructions handle numerical calculations, while logical instructions manage boolean operations.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of branch instructions in assembly language?
The function of branch instructions is to change the flow of execution in a program.
To initialize variables.
To store data in memory.
To perform arithmetic operations.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe how loop instructions work in 8086 assembly.
Loop instructions in 8086 assembly increment the CX register and repeat execution until CX is one.
Loop instructions in 8086 assembly do not affect the CX register and run only once.
Loop instructions in 8086 assembly are used to jump to a random memory address without checking CX.
Loop instructions in 8086 assembly decrement the CX register and repeat execution until CX is zero.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a 'While' loop and how is it implemented in 8086?
A 'While' loop is a type of interrupt in 8086 programming.
In 8086, a 'While' loop is implemented using conditional jumps (like JZ, JNZ) and labels to control the flow based on a condition.
In 8086, 'While' loops are created with nested procedures only.
A 'While' loop is implemented using a single GOTO statement.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define a 'Do' loop and provide an example in assembly language.
A 'Do' loop is a type of loop that only runs once.
Example in assembly language: section .data count db 0 section .text global _start _start: ; Do loop starts here mov al, [count] inc al mov [count], al cmp al, 5 jl _start ; Jump back to start if count < 5 ; Exit program mov eax, 60 ; syscall: exit xor edi, edi ; status: 0 syscall This example increments a counter until it reaches 5.
Example in assembly language: mov eax, 10; sub eax, 1; jnz _start;
A 'Do' loop is used to create a static array in assembly language.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Java Quiz 1
Quiz
•
University
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
18 questions
Fiber Optic
Quiz
•
University
20 questions
ICT Short Quiz
Quiz
•
University
20 questions
Review Quiz (Chapter 3&4)
Quiz
•
University
20 questions
ĐC CNTT_Chương 1
Quiz
•
University
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University