A file name and a text (which can contain any type of character) are given in data segment.
Se dau in segmentul de date un nume de fisier si un text (poate contine orice tip de caracter).
Compute the expression value: (a/b)*k, where k is a constant value defined in data segment.
Sa se calculeze valoarea expresiei (a/b)*k, k fiind o constanta definita in segmentul de date.
It can be a service segment or a user data segment.
From the structural point of view, the process consists of three parts: program segment, data segment and PCB.
Din punct de vedere structural, procesul este format din trei părți: segment de program, segment de date și PCB.
In the AVR architecture are present the three address spaces: program memory, data memory and EEPROM, representing three segments: code segment, data segment and EEPROM segment.
Blocurile de memorii sunt grupate în trei spaţii de adrese, memoria de programe, memoria de date şi memoria EEPROM, reprezentând 3 segmente: Segmentul de cod, segmentul de date şi segmentul EEPROM.
3 Data segment: The data segment of a process, which can be the raw data processed by the process corresponding to the process, or the intermediate or final data generated after the program is executed.
3 Segment de date: Segmentul de date al unui proces, care poate fi datele brute procesate de procesul corespunzător procesului, sau datele intermediare sau finale generate după executarea programului.
The name of text file is defined in the data segment.
A character string is given (defined in the data segment).
A file name is given (defined in the data segment).
Otherwise, these are static data and they will be stored in a different segment from the stack segment, for instance in the data segment.
În caz contrar spunem că este vorba despre date statice și spațiul pentru ele va fi alocat într-un segment diferit de segmentul de stivă, de exemplu în segmentul de date.
Two natural numbers a and b (a: dword, b: dword, defined in the data segment) are given.
Se dau doua numere naturale a si b (a: dword, b: word, definite in segmentul de date).
Using an alphabet (defined in the data segment), determine and display the string s2 obtained by substitution of each letter of the string s1 with the corresponding letter in the given alphabet.
Folosind un alfabet (definit in segmentul de date), determinati si afisati sirul s2 obtinut prin substituirea fiecarei litere a sirului s1 cu litera corespunzatoare din alfabetul dat.
Unlike the program segment and the EEPROM segment, the data segment is made up of three memory types (as can be seen from the above figure).
Spre deosebire de segmentul de programe şi cel de EEPROM, segmentul de date este format din trei tipuri de memorie, după cum se poate observa din figura de mai sus.