Segments removal
Segments removal is the last optional step in the process of segments creation and management. After all the segments boundaries have been processed so that all possible segments have been created, it is possible to reduce the number of segments, by setting hierarchy rules.
The block of instructions called SEGMENTS HIERARCHY
considers segments in pairs of two. It is used to manage and resolve conflicts among different segments so that one of the two is removed.
Note
This feature is not to be confused with the segments priority type of instruction. The segments priority options remodel the boundaries of two conflicting segments, while the segments hierarchy removes one of two segments.
The syntax is the following:
SEGMENTS HIERARCHY
{
segmentName1 operator segmentName2
}
where:
SEGMENTS HIERARCHY
is a syntax keyword and must be written in uppercase.segmentName1
andsegmentName2
refer to the segments names the instruction applies to.operator
refers to one of the two operators available for the segments priority instruction:REMOVES
ERASES
Removes
The operator REMOVES
is used to remove a segment when it overlaps with another segment. In fact, if we set the SEGMENTS HIERARCHY
in the following way:
SEGMENTS HIERARCHY
{
A REMOVES B
}
if segment A
partially or totally overlaps segment B
, then segment B
will be removed.
Erases
The operator ERASES
is used to erase a segment when istances of another segment are present. In fact, if we set the SEGMENTS HIERARCHY
in the following way:
SEGMENTS HIERARCHY
{
A ERASES B
}
if at least one instance of segment A
is present, then all instances of segment B
will be erased.