Introduction to Assembly Language Flashcards

(34 cards)

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

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

20
Q

It specifies and initializes the memory model before defining any segment

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

23
Q

Memory Model with 1 data segment and 1 code segment

24
Q

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

25
Memory Model with more than 1 data segments and 1 code segment
Compact
26
Memory Model with more than 1 data segments and more than 1 code segments
Large
27
It defines the size of the stack
.STACK
28
Default stack size
1024 bytes
29
It defines and mark the beginning of data segment
.DATA
29
It defines and marks the code segment which consists of a set of instructions
.CODE
30
It is placed at the last line of the source code
END
31
Is used for descriptive data such as person's name or simply a message
String
32
A string must end with a ____ symbol
Dollar ($)
33
They are used to define arithmetic values and memory addresses
Numeric Constant