About: Data segment

An Entity of Type: anatomical structure, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

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. 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.

Property Value
dbo:abstract
  • قطعة البيانات أو سجمنت (بالإنجليزية: Data segment)‏ في الحوسبة السجمنت (يشار اليه بـ data. ) هو جزء من ملف يسمى object file أو مساحة من العناوين الافتراضية virtual address space (يستخدمها ويجعلها نظام التشغيل متوفرة لاي عملية Process) المعطاة لبرنامج تم تمهيده ويحتوي على static variable ويكون هذا المتغير global variable و static local variable , مساحة هذا السجمنت محدد بواسطة القيمة الموجودة في مصدر كود البرنامج program source code ولا يتغير اثناء وقت التنفيذ run time . (ar)
  • Als Datensegment bezeichnet man den Teil von oder eines laufenden Prozesses, in dem globale und statische Variablen abgelegt sind. Diese Variablen müssen beim Start des Programms bereits im Speicher vorhanden und initialisiert sein, außerdem ist ihr Speicherplatzbedarf bereits zur Übersetzungszeit bekannt. Daher wird bereits beim Übersetzen ein Datenblock erstellt, der später als Teil des Programms beim Starten in den Speicher geladen und sofort verwendet werden kann. Manchmal werden Daten-, BSS-, Stack- und Heap-Bereiche gemeinsam als „Datensegment“ bezeichnet. In Maschinensprache bestehen dann getrennte Segmente für Daten und ausführbaren Code. Dafür halten zum Beispiel Intel-Prozessoren Register CS (CodeSegment) und DS (DataSegment) bereit. Einzelne Befehle beziehen sich dann entweder auf das Daten- oder Codesegment. So bezeichnet die Sprunganweisung JMP 0120 zum Beispiel die absolute Adresse 0120, die in dem durch das Segmentregister CS vorgegebenen Segment anzuspringen ist. Bei Befehlen zum Datenaustausch wie zum Beispiel MOV DX, [BX] dagegen bezieht sich die Adresse in BX als Zeiger auf das Datensegment. Assemblersprachen stellen eigene Anweisungen zur Definition von Segmenten für Daten, Code, Stack, und deren Reihenfolge bereit (zum Beispiel .DATA, .CODE, .STACK u. a.). In manchen Betriebssystemen (z. B. in z/OS) ist die Trennung von Code- und Datensegmenten nicht erforderlich. Die Maschinenbefehle unterscheiden diese beiden Bereichstypen nicht, sondern adressieren Daten und Codeteile mit identischen Verfahren, Registern etc. Ein Maschinenprogramm kann demzufolge Daten und Code gemischt enthalten; aus Gründen der Softwarequalität (Wartbarkeit) werden jedoch Datendeklarationen und der Befehlsteil des Programms meist strukturell getrennt implementiert. (de)
  • 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. (en)
  • Un segment de données est une portion d’espace d’adressage virtuel d’un programme, qui contient les variables globales et les qui sont initialisées par le programmeur. Cette portion a une taille fixe pour chaque programme, qui dépend de son contenu, dans la mesure où toutes les données sont affectées par le programmeur avant le chargement du programme. Noter que le segment de données n’est pas en lecture seule, puisque les valeurs de ces variables peuvent être altérées à l’exécution. En cela, il s’oppose à la section “Rodata” (« read-only data », données constantes et en lecture seule), tout comme au segment de code. L’architecture PC prend en charge peu de régions de mémoire avec un accès en lecture-écriture basique pour un programme : la pile, le segment de données et le segment de code. (fr)
  • 在采用的架构中,数据段(data segment)通常是指用来存放程序中已初始化的全局变量的一块内存区域。数据段属于静态記憶體分配。 (zh)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 1613235 (xsd:integer)
dbo:wikiPageLength
  • 7262 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1105687621 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • قطعة البيانات أو سجمنت (بالإنجليزية: Data segment)‏ في الحوسبة السجمنت (يشار اليه بـ data. ) هو جزء من ملف يسمى object file أو مساحة من العناوين الافتراضية virtual address space (يستخدمها ويجعلها نظام التشغيل متوفرة لاي عملية Process) المعطاة لبرنامج تم تمهيده ويحتوي على static variable ويكون هذا المتغير global variable و static local variable , مساحة هذا السجمنت محدد بواسطة القيمة الموجودة في مصدر كود البرنامج program source code ولا يتغير اثناء وقت التنفيذ run time . (ar)
  • 在采用的架构中,数据段(data segment)通常是指用来存放程序中已初始化的全局变量的一块内存区域。数据段属于静态記憶體分配。 (zh)
  • Als Datensegment bezeichnet man den Teil von oder eines laufenden Prozesses, in dem globale und statische Variablen abgelegt sind. Diese Variablen müssen beim Start des Programms bereits im Speicher vorhanden und initialisiert sein, außerdem ist ihr Speicherplatzbedarf bereits zur Übersetzungszeit bekannt. Daher wird bereits beim Übersetzen ein Datenblock erstellt, der später als Teil des Programms beim Starten in den Speicher geladen und sofort verwendet werden kann. Manchmal werden Daten-, BSS-, Stack- und Heap-Bereiche gemeinsam als „Datensegment“ bezeichnet. (de)
  • 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. 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. (en)
  • Un segment de données est une portion d’espace d’adressage virtuel d’un programme, qui contient les variables globales et les qui sont initialisées par le programmeur. Cette portion a une taille fixe pour chaque programme, qui dépend de son contenu, dans la mesure où toutes les données sont affectées par le programmeur avant le chargement du programme. L’architecture PC prend en charge peu de régions de mémoire avec un accès en lecture-écriture basique pour un programme : la pile, le segment de données et le segment de code. (fr)
rdfs:label
  • قطعة بيانات (شبكات) (ar)
  • Datensegment (de)
  • Data segment (en)
  • Segment de données (fr)
  • 数据段 (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:homepage
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License