Assembly lang

5.0(1)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/50

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

51 Terms

1
New cards
Comment
Part of a program that is ignored by the assembler. It can improve the program readability and clarity
2
New cards
Reserved Words
Words in which the assembler assigns a special meaning and it cannot be used as identifiers
3
New cards
Categories of Reserved Words
Instructions, Directives, Operators, Pre-defined Symbols
4
New cards
Instructions
Statements that will be translated into machine language and executed by the computer
5
New cards
Directives
Statements that give information to the assembler. Also known as pseudo-ops
6
New cards
Directives
These are not translated into machine language but are necessary for the program to assemble properly
7
New cards
Operators
Used at assembly time to affect the value of an operand.
8
New cards
Pre-defined Symbols
Symbols that return information to your program
9
New cards
Identifier
Is a user-defined name or variable that you apply in the program that is used as a reference
10
New cards
Types of Identifier
Name, Label
11
New cards
Name
Refers to the address of a data item
12
New cards
Label
Refers to the address of an instruction or procedure
13
New cards
Statement
It consists of set of statements
14
New cards
Types of statements
Instructions and Directives
15
New cards
TITLE
Creates a title up to 60 characters of a source listing
16
New cards
DOSSEG
Tells the assembler to ignore all other request and adopt the DOS segment sequence-stack, data and code.
17
New cards
MODEL
It specifies and initializes the memory model before defining and segment.
18
New cards
.STACK
Defines the size of the stack. Default size is 1024 bytes
19
New cards
.DATA
Defines and marks the beginning of data segment
20
New cards
.CODE
Defines and marks the code segment which consists of a set of instructions.
21
New cards
.END
Placed at the last line of the source code
22
New cards
String
Used for descriptive data. Ends with $ symbol and defined in “ “
23
New cards
Numeric Constant
Used to define arithmetic values and memory addresses. Defined with a radix specifier such as d for decimal, b for binary, and h for hexadecimal
24
New cards
CMP
Used to compare character data, as well as numeric data fields
25
New cards
JMP
Considered as unconditional jump instruction. Does not depend on a condition being true or false
26
New cards
PROC and ENDP
Every procedure is defined using \___
27
New cards
NUL (Null)
No character. Used for filling in time or filling space on tape when there is no data
28
New cards
BEL (Bell)
Used when there is need to call human attention.
29
New cards
SO (Shift Out)
Indicates that the code combinations shall be interpreted as outside of the standard character set until SHIFT IN character is reached
30
New cards
DEL (Delete)
Used to obliterate unwanted characters
31
New cards
SP (Space)
A nonprinting used to separate words, or to move the printing mechanism or display cursor forward by one position
32
New cards
DLE (Data Link Escape)
A character which shall change the meaning of one or more contiguously following characters.
33
New cards
DLE (Data Link Escape)
Can provide supplementary controls, or permits the sending of data characters having any bit combinations
34
New cards
DC1, DC2, DC3, DC4 (Device Controls)
Character for the control of auxiliary devices or special terminal features
35
New cards
CAN (Cancel)
Indicates that the data which precedes it in message or black should be disregarded.
36
New cards
EM (End of Medium)
Indicates the physical end card, tape or other medium or the end of the required or used portion of the medium
37
New cards
SUB (Substitute)
Substitute for a character that is found to be erroneous or invalid
38
New cards
ESC (Escape)
A character intended to provide code extension in that it gives a specified number of continuously following characters an alternate
39
New cards
BS (Backspace)
Indicates movement of the printing mechanism or display cursor backwards in one position
40
New cards
HT (Horizontal Tab)
Indicates movement of the printing mechanism or display cursor forward to the next pre assigned ‘tab’ or stopping position
41
New cards
LF (Line Feed)
\- Indicates movement of the printing mechanism or display cursor to the start of the next line
42
New cards
VT (Vertical Tab)
\- Indicates movement of the printing mechanism or display cursor to the next of a series of pre-assigned printing lines
43
New cards
FF (Form Feed)
\- Indicates movement of the printing mechanism or display cursor to the starting position of the next page, form or screen
44
New cards
CR (Carriage Return)
\- Indicates movement of the printing mechanism or display cursor to the starting position of the same line
45
New cards
SOH (Start of Heading)
Used to indicate the start of a heading, which may contain address or routing information
46
New cards
STX (Start of Text)
Used to indicate the start of the text and also indicates the end of the heading
47
New cards
ETX (End of Text)
Used to terminate the text, which was started with STX
48
New cards
EOT (End of Transmission)
Indicates the end of a transmission, which included one or more “text’s” with their headings
49
New cards
ENQ (Enquiry)
A request for a response from a remote station.
50
New cards
ACK (Acknowledgement)
A character transmitted by a receiving device as an affirmation response to sender
51
New cards
NAK (Negative Acknowledgement)
A character transmitted by a receiving device as a negative response to polling messages.