answersLogoWhite

0

What is a segment used for?

Updated: 12/15/2022
User Avatar

Wiki User

13y ago

Best Answer

A segment is a chunk (segment) of memory that is 64Kb in size. Due to the design of the 8086/8088 there are 64K possible segments, ecah overlapping the next by 16 bytes, for a total addressibility of 1 Mb.

In the instruction model, a segment is the locus of addresses that can be reached in one instruction, without stopping to load a new value into a segment register. It is also called a near, or 16 bit address.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a segment used for?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the different types of segment register?

The code segment (CS) register is used for access to program code. The data segment (DS) register is used for access to data. The extra segment (ES) register is used for access to data during certain string primitive operations. The stack segment (SS) register is used for access to stack data.Any of these implied uses can be overridden with a segment override prefix opcode.


What theorem is used to prove a segment is a bisector?

A segment need not be a bisector. No theorem can be used to prove something that may not be true!


When constructing a congruent segment a straight edge is used to measure the length of the segment?

False


Which segment is used to store interrupt and subroutine return address registers?

stack segment


What type of bridge would be used to conncet an ehernet segment with a token ring segment?

A gateway.


Which layer 1 device can be used to enlarge the area covered by single LAN segment?

hub is the device that is used to extend the lan segment and used at layer1 that is physical layer.


Which Layer 1 devices can be used to enlarge the area covered by a single LAN segment?

hub is the device that is used to extend the lan segment and used at layer1 that is physical layer.


Difference between code segment and data segment of an instruction?

In the 8086/8088 microprocessor, the code segment is used to fetch the opcode and any additional instruction bytes that might be part of the instruction, while the data segment is used to fetch and/or store any operand bytes that the instruction requires to be manipulated.This is in the case of no segment override prefix.


Can bridges be used by administrators to segment their LAN?

This is one of the reasons for using a bridge - it supplies LAN segment isolation by not forwarding packets it knows will be delivered in the same segment.


What is a line segment used for?

A line segment is often used in math to do geometry and other types of math. This is a part of a line which can be calculated and measured correctly in an equation.


What is the midpoint formula used for?

The midpoint formula is used to find the point that is in the middle of a segment.


How segment register are used?

The segment register in the 80806/8088 microprocessor contains the base address (divided by 16) of a region of memory. Since the register is 16 bits in size, there are 65,536 possible segment base addresses, ranging from 00000H to FFFF0H, in increments of 00010H.After address translation at the instruction level, the generated 16 bit offset is added to the selected segment register times 16 to generate a physical address between 00000H and FFFFFH. (If the offset and base go past FFFFFH, they wrap around back to 00000H.) Since the offset is also 16 bits in size, and since the overlap is only 4 bits (times 16), then each 64 kb segment overlaps by 16 bytes.There are four segment registers; CS, DS, ES, and SS, standing for Code Segment, Data Segment, Extra Segment, and Stack Segment.CS is used for opcode fetches. DS is used for normal data. ES is used for certain string operations as the destination address. SS is used for stack and frame (BP) data.The segment registers can be implicitly selected by context, or they can be explicitly selected with a segment prefix opcode.