19-20
x86 MICROPROCESSORS
instructions, in that they are non-executable statements. They just help the assembler by
providing certain important information.
ORG ORG is a directive, which means ‘origin’. In the context of assembly language
programming, it defines the starting address for any item (data or code) in the program
memory (ROM). We have already used the statement ORG 0 in Examples 19.1 and 19.2.
EQU This directive allows us to equate names to constants. The assembler just replaces
the names by the values mentioned.
Examples
COST EQU 34 ;equate the label COST to 34
PRICE EQU 56H ;equate the label PRICE by 56H
DB This directive stands for ‘data byte’ and places an 8-bit number constant at this
memory (ROM) location. If labels are ...