4.
ASSEMBLER
DIRECTIVES
This chapter describes the il'isembler directives used to control the 8080/85 assembler
in
its generation
of
object
code. This chapter excludes the macro directives, which are discussed
as
a separate topic
in
Chapter
5.
Generally, directives have the same format
as
instructions and can
be
interspersed throughout your program.
Assembler directives discussed
in
this chapter are grouped
as
follows:
GENERAL DIRECTIVES:
• Symbol
Definition
EQU
SET
• Data Definition
DB
DW
• Memory Reservation
DS
• Conditional Assembly
IF
ELSE
ENDIF
• Assembler
Termination
END
LOCATION COUNTER COI\JTROL
AND
RELOCATION:
•
Location Counter Control
ASEG
DSEG
CSEG
ORG
• Program
Linkage
PUBLIC
EXTRN
NAME
STKLN
4-1