Assembly Language Quiz

Assembly Language Quiz

University

20 Qs

quiz-placeholder

Similar activities

Operating Systems Quiz 2

Operating Systems Quiz 2

University

15 Qs

Advance Processors 2

Advance Processors 2

12th Grade - University

25 Qs

COA

COA

University

20 Qs

Arduino

Arduino

University

25 Qs

EMBEDDED SYSTEM DESIGN

EMBEDDED SYSTEM DESIGN

University

20 Qs

NASM 1

NASM 1

University

17 Qs

The Test Error (Unknown Hacker)

The Test Error (Unknown Hacker)

5th Grade - University

16 Qs

Microcontroller 8051

Microcontroller 8051

University

20 Qs

Assembly Language Quiz

Assembly Language Quiz

Assessment

Quiz

Other

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?