INTRODUCTION TO 8086
ASSEMBLER DIRECTIVES
THEORY
Assembler Directives:
DATA:
It marks the start of the data segment.
CODE:
It marks the start of the code segment.
ASSUME:
Informs the assembler of the logical segment to be assumed of different
segment used in program.
MACRO:
It is used to define a set of macros.
DB:
It stands for Define byte. It is used to define a byte of memory
DW:
It stands for Define word. It is used to define a word of memory
DD:
It stands for Define double word. It is used to define a double word of
memory
LABEL:
It is used to assign name to the current content of the location counter.
DUP:
It is used to store the duplicate of values given by DB, DD, DW, DQ.
This value can be duplicated to the value given by DUP.
Generally used to allocate space for table/array.