
Assembly Language Quiz

Quiz
•
Other
•
University
•
Hard
indranee kashyap
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many 32-bit and 16-bit processor registers are present in the IA-32 architecture?
8 of each
10 of each
10 32-bit and 6 16-bit registers
6 32-bit and 10 16-bit registers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a category of registers in the IA-32 architecture?
General registers
Control registers
Segment registers
Stack registers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The 32-bit data registers EAX, EBX, ECX, and EDX can be accessed in which of the following ways?
Only as 32-bit registers
As 32-bit, 16-bit, and 8-bit registers
Only as 16-bit registers
Only as 8-bit registers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In NASM assembly language, how is a macro defined?
Using macro and endmacro directives
Using define and enddefine directives
Using %macro and %endmacro directives
Using startmacro and stopmacro directives
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key difference between macros and subroutines in assembly language?
Macros are executed at runtime, while subroutines are expanded at assembly time.
Macros can only be used once, whereas subroutines can be called multiple times.
Macros are expanded at assembly time, while subroutines are executed at runtime.
Subroutines cannot accept parameters, but macros can.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In assembly language, what is the primary purpose of the stack segment?
To store global variables.
To hold the return addresses of subroutines and handle interrupts.
To execute arithmetic operations.
To manage input/output operations.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct sequence of stages in the assembly process?
Syntax Analysis → Lexical Analysis → Opcode Mapping → Machine Code Generation
Lexical Analysis → Syntax Analysis → Symbol Table Creation → Opcode Mapping → Address Resolution → Relocation and Linking → Machine Code Generation
Opcode Mapping → Lexical Analysis → Symbol Table Creation → Syntax Analysis → Machine Code Generation
Symbol Table Creation → Address Resolution → Lexical Analysis → Opcode Mapping → Machine Code Generation
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DSL-105 Forklift Operations

Quiz
•
University
25 questions
C++ Basics

Quiz
•
University
20 questions
IETE Students day quiz

Quiz
•
University
20 questions
Air Cargo Management 01

Quiz
•
University
20 questions
Memory Hierarchy Quiz

Quiz
•
University
20 questions
DSL-202 Chap 21: Electronic Signal Processing

Quiz
•
University
20 questions
Understanding 8251, 8254, 8257, 8259, 8279

Quiz
•
University
19 questions
Web Design Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University