Introduction to Assembly Language Flashcards

1
Q

Can improve the readability and clarity especially in assembly language where the purpose of a set of instructions is often ambiguous.

A

Comment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is a part of a program that is ignored by the assembler.

A

Comment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a comment begin with?

A

semicolon (;)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

These are words in which the assembler assigns a special meaning and it cannot be used as identifiers.

A

Reserved Words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Categories of Reserved Words

A

Instructions
Directives
Operators
Pre-defined Symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

These are statements that will be translated into machine language and executed by the computer.

A

Instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Statements that give information to the assembler

A

Directives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Are sometimes called pseudo-ops

A

Directives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

These are used at assembly time to affect the value of an operand

A

Operators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

These are symbols that return information to your program.

A

Pre-defined Symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is a user-defined name or variable that you apply in the program that is used as reference

A

Identifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Types of Identifiers

A

Name
Label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

It refers to the address of a data item

A

Name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

It refers to the address of an instruction or procedure

A

Label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Two types of statements

A

Instructions
Directives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Consists of a set of statements

A

Statement

17
Q

Maximum number of characters for a valid identifier

A

31 characters

18
Q

Maximum number of characters for a title

A

60 characters

19
Q

It tells the assembler to ignore all other request and to adopt the DOS segment sequence-stack, data and code

A

DOSSEG

20
Q

It specifies and initializes the memory model before defining any segment

A

MODEL

21
Q

What are the different memory models

A

Tiny, Small, Medium, Compact, Large

22
Q

Memory Model with 0 number of data and code segments

A

Tiny

23
Q

Memory Model with 1 data segment and 1 code segment

A

Small

24
Q

Memory Model with 1 data segment and more than 1 code segments

A

Medium

25
Q

Memory Model with more than 1 data segments and 1 code segment

A

Compact

26
Q

Memory Model with more than 1 data segments and more than 1 code segments

A

Large

27
Q

It defines the size of the stack

A

.STACK

28
Q

Default stack size

A

1024 bytes

29
Q

It defines and mark the beginning of data segment

A

.DATA

29
Q

It defines and marks the code segment which consists of a set of instructions

A

.CODE

30
Q

It is placed at the last line of the source code

A

END

31
Q

Is used for descriptive data such as person’s name or simply a message

A

String

32
Q

A string must end with a ____ symbol

A

Dollar ($)

33
Q

They are used to define arithmetic values and memory addresses

A

Numeric Constant