Assembly lang

studied byStudied by 2 people
5.0(1)
get a hint
hint

Comment

1 / 50

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

Studying Progress

0%
New cards
51
Still learning
0
Almost done
0
Mastered
0
51 Terms
1
New cards

Comment

Part of a program that is ignored by the assembler. It can improve the program readability and clarity

New cards
2
New cards

Reserved Words

Words in which the assembler assigns a special meaning and it cannot be used as identifiers

New cards
3
New cards

Categories of Reserved Words

Instructions, Directives, Operators, Pre-defined Symbols

New cards
4
New cards

Instructions

Statements that will be translated into machine language and executed by the computer

New cards
5
New cards

Directives

Statements that give information to the assembler. Also known as pseudo-ops

New cards
6
New cards

Directives

These are not translated into machine language but are necessary for the program to assemble properly

New cards
7
New cards

Operators

Used at assembly time to affect the value of an operand.

New cards
8
New cards

Pre-defined Symbols

Symbols that return information to your program

New cards
9
New cards

Identifier

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

New cards
10
New cards

Types of Identifier

Name, Label

New cards
11
New cards

Name

Refers to the address of a data item

New cards
12
New cards

Label

Refers to the address of an instruction or procedure

New cards
13
New cards

Statement

It consists of set of statements

New cards
14
New cards

Types of statements

Instructions and Directives

New cards
15
New cards

TITLE

Creates a title up to 60 characters of a source listing

New cards
16
New cards

DOSSEG

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

New cards
17
New cards

MODEL

It specifies and initializes the memory model before defining and segment.

New cards
18
New cards

.STACK

Defines the size of the stack. Default size is 1024 bytes

New cards
19
New cards

.DATA

Defines and marks the beginning of data segment

New cards
20
New cards

.CODE

Defines and marks the code segment which consists of a set of instructions.

New cards
21
New cards

.END

Placed at the last line of the source code

New cards
22
New cards

String

Used for descriptive data. Ends with $ symbol and defined in “ “

New cards
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

New cards
24
New cards

CMP

Used to compare character data, as well as numeric data fields

New cards
25
New cards

JMP

Considered as unconditional jump instruction. Does not depend on a condition being true or false

New cards
26
New cards

PROC and ENDP

Every procedure is defined using ___

New cards
27
New cards

NUL (Null)

No character. Used for filling in time or filling space on tape when there is no data

New cards
28
New cards

BEL (Bell)

Used when there is need to call human attention.

New cards
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

New cards
30
New cards

DEL (Delete)

Used to obliterate unwanted characters

New cards
31
New cards

SP (Space)

A nonprinting used to separate words, or to move the printing mechanism or display cursor forward by one position

New cards
32
New cards

DLE (Data Link Escape)

A character which shall change the meaning of one or more contiguously following characters.

New cards
33
New cards

DLE (Data Link Escape)

Can provide supplementary controls, or permits the sending of data characters having any bit combinations

New cards
34
New cards

DC1, DC2, DC3, DC4 (Device Controls)

Character for the control of auxiliary devices or special terminal features

New cards
35
New cards

CAN (Cancel)

Indicates that the data which precedes it in message or black should be disregarded.

New cards
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

New cards
37
New cards

SUB (Substitute)

Substitute for a character that is found to be erroneous or invalid

New cards
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

New cards
39
New cards

BS (Backspace)

Indicates movement of the printing mechanism or display cursor backwards in one position

New cards
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

New cards
41
New cards

LF (Line Feed)

- Indicates movement of the printing mechanism or display cursor to the start of the next line

New cards
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

New cards
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

New cards
44
New cards

CR (Carriage Return)

- Indicates movement of the printing mechanism or display cursor to the starting position of the same line

New cards
45
New cards

SOH (Start of Heading)

Used to indicate the start of a heading, which may contain address or routing information

New cards
46
New cards

STX (Start of Text)

Used to indicate the start of the text and also indicates the end of the heading

New cards
47
New cards

ETX (End of Text)

Used to terminate the text, which was started with STX

New cards
48
New cards

EOT (End of Transmission)

Indicates the end of a transmission, which included one or more “text’s” with their headings

New cards
49
New cards

ENQ (Enquiry)

A request for a response from a remote station.

New cards
50
New cards

ACK (Acknowledgement)

A character transmitted by a receiving device as an affirmation response to sender

New cards
51
New cards

NAK (Negative Acknowledgement)

A character transmitted by a receiving device as a negative response to polling messages.

New cards

Explore top notes

note Note
studied byStudied by 23 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 22 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 18 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 86705 people
Updated ... ago
4.8 Stars(569)

Explore top flashcards

flashcards Flashcard65 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard152 terms
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard61 terms
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard39 terms
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard35 terms
studied byStudied by 34 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard51 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard46 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard92 terms
studied byStudied by 57 people
Updated ... ago
4.0 Stars(1)