Explain SEGMENT assembler directive with example.
SEGMENT: This directive described to the assembler the start of a segment along with name segment-name. The segment name must be follows the rules of the assembler and unique.
The Syntax is as given below:
Segment Name SEGMENT {Operand (Optional)} ; Comment
.
.
.
Segment Name ENDS.