We can define a segment of memory as a segment, use a segment address to indicate the segment, use an offset address to access the unit in the segment, and manage the memory in a segmented manner.
Use a segment to store data and define it as a "data segment";
Use a segment to store the code and define it as a "code segment";
Use a segment as a stack and define it as a "stack segment".
Segment register: 8086CPU has 4 segment registers:, CS、DS、SS、ES
provides the segment address of the memory unit