Global Information Lookup Global Information

Data segment information


In computing, a data segment (often denoted .data) is a portion of an object file or the corresponding address space of a program that contains initialized static variables, that is, global variables and static local variables. The size of this segment is determined by the size of the values in the program's source code, and does not change at run time.

The data segment is read/write, since the values of variables can be altered at run time. This is in contrast to the read-only data segment (rodata segment or .rodata), which contains static constants rather than variables; it also contrasts to the code segment, also known as the text segment, which is read-only on many architectures. Uninitialized data, both variables and constants, is instead in the BSS segment.

Historically, to be able to support memory address spaces larger than the native size of the internal address register would allow, early CPUs implemented a system of segmentation whereby they would store a small set of indexes to use as offsets to certain areas. The Intel 8086 family of CPUs provided four segments: the code segment, the data segment, the stack segment and the extra segment. Each segment was placed at a specific location in memory by the software being executed and all instructions that operated on the data within those segments were performed relative to the start of that segment. This allowed a 16-bit address register, which would normally be able to access 64 KB of memory space, to access 1 MB of memory space.

This segmenting of the memory space into discrete blocks with specific tasks carried over into the programming languages of the day and the concept is still widely in use within modern programming languages.

and 25 Related for: Data segment information

Request time (Page generated in 0.8274 seconds.)

Data segment

Last Update:

In computing, a data segment (often denoted .data) is a portion of an object file or the corresponding address space of a program that contains initialized...

Word Count : 934

Segment

Last Update:

into segments Segment descriptor Data segment Code segment Image segmentation, the process of partitioning a digital image into multiple segments Time-series...

Word Count : 339

X86 memory segmentation

Last Update:

currently used program code segment (CS), the current data segment (DS), the current stack segment (SS), and one extra segment determined by the programmer...

Word Count : 3020

Memory segmentation

Last Update:

alone. Segments may be created for program modules, or for classes of memory usage such as code segments and data segments. Certain segments may be shared...

Word Count : 2134

Data striping

Last Update:

computer data storage, data striping is the technique of segmenting logically sequential data, such as a file, so that consecutive segments are stored...

Word Count : 891

Shared memory

Last Update:

or avoid redundant copies. Shared memory is an efficient means of passing data between programs. Depending on context, programs may run on a single processor...

Word Count : 1301

Code segment

Last Update:

In computing, a code segment, also known as a text segment or simply as text, is a portion of an object file or the corresponding section of the program's...

Word Count : 335

Segment tree

Last Update:

the segment tree is a data structure used for storing information about intervals or segments. It allows querying which of the stored segments contain...

Word Count : 1787

Segment descriptor

Last Update:

accessible data. The length is one more than the value stored here. How exactly this should be interpreted depends on the Granularity bit of the segment descriptor...

Word Count : 640

Program Segment Prefix

Last Update:

The Program Segment Prefix (PSP) is a data structure used in DOS systems to store the state of a program. It resembles the Zero Page in the CP/M operating...

Word Count : 1558

Market segmentation

Last Update:

lifestyles, attitudes, values, beliefs and culture to segment markets. With access to group-level data only, brand marketers approached the task from a tactical...

Word Count : 10377

Flow Cytometry Standard

Last Update:

textual data followed by binary data. The order of the file layout is as follows: HEADER segment TEXT segment DATA segment Optional ANALYSIS segment CRC value...

Word Count : 1011

Here document

Last Update:

a form of data segment. In these languages, including the line __DATA__ (Perl) or __END__ (Ruby, old Perl) marks the end of the code segment and the start...

Word Count : 4647

Intel HEX

Last Update:

data belongs to code segment […] 82 same as 00, data belongs to data segment […] 83 same as 00, data belongs to stack segment […] 84 same as 00, data...

Word Count : 6364

Segmentation fault

Last Update:

read/write portion of the data segment of a program are writable, while read-only data allocated in the const segment and the code segment are not writable. Thus...

Word Count : 2433

DOS MZ executable

Last Update:

Program Segment Prefix. EXE files normally have separate segments for the code, data, and stack. Program execution begins at address 0 of the code segment, and...

Word Count : 614

Ground segment

Last Update:

the space segment and user segment.: 1  The ground segment enables management of a spacecraft, and distribution of payload data and telemetry among interested...

Word Count : 2238

Sbrk

Last Update:

Unix-like operating systems to control the amount of memory allocated to the data segment of the process. These functions are typically called from a higher-level...

Word Count : 554

QR code

Last Update:

contains a "private data" segment after the terminator instead of the specified filler bytes "ec 11". This private data segment must be deciphered with...

Word Count : 9096

Intel 8086

Last Update:

program's code or data segment and so can be used only within parts of a program small enough to fit in one segment. Far pointers are 32-bit segment:offset pairs...

Word Count : 4993

Transmission Control Protocol

Last Update:

Control Protocol accepts data from a data stream, divides it into chunks, and adds a TCP header creating a TCP segment. The TCP segment is then encapsulated...

Word Count : 12299

Memory address

Last Update:

(historically known as code segment or text segment); shared libraries. Data, including: initialized data (data segment); uninitialized (but allocated)...

Word Count : 1494

SegWit

Last Update:

the sender and receiver data, and the new "witness" structure would contain scripts and signatures. The original data segment would be counted normally...

Word Count : 1229

OSI model

Last Update:

packet size imposed by all data link layers on the network path between the two hosts. The amount of data in a data segment must be small enough to allow...

Word Count : 5416

Data Language Interface

Last Update:

Stores-Segment-Area, Stores-Root-SSA. The program would then automatically wait till the requested data were retrieved and placed in the Segment-Area....

Word Count : 474

PDF Search Engine © AllGlobal.net