Assembly Language Quiz

Assembly Language Quiz

University

15 Qs

quiz-placeholder

Similar activities

OCS752_CP_MODEL 1_PART B (16.10.2020)

OCS752_CP_MODEL 1_PART B (16.10.2020)

University

10 Qs

Network Layer

Network Layer

University

15 Qs

ENSAMBLADOR

ENSAMBLADOR

University

10 Qs

CS332_8051 Viva

CS332_8051 Viva

12th Grade - Professional Development

15 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

Quiz 10

Quiz 10

University

10 Qs

MongoDB Mongoose

MongoDB Mongoose

University

15 Qs

Manipuler des bases de données

Manipuler des bases de données

University

20 Qs

Assembly Language Quiz

Assembly Language Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Zohaib Ahmad

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which assembler directive is typically used to declare an 8-bit variable?

DW

DD

DB

DQ

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the DW directive allocate in memory?

1 byte

2 bytes

4 bytes

8 bytes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which instruction uses an immediate constant rather than a memory location?

MOV AX, 1000h

MOV AX, [1000h]

MOV DS, AX

MOV [1000h], AX

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the declaration: asm Copy Edit MYBYTE DB 0x55 What is the size and value of MYBYTE?

16-bit, 55h

8-bit, 55h

32-bit, 55h

Not enough information

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which directive is used to define a constant that cannot be modified during program execution?

CONST

EQU

DEFINE

SET

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Data Segment (DS) register is used in assembly language to:

Point to the stack area

Reference code

Locate data variables

Manage I/O operations

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Accessing a variable using its label, as in: asm Copy Edit MOV AL, MYVAR This mode is known as:

Immediate addressing

Register addressing

Direct addressing

Indirect addressing

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?