Data is one of the sections of a program in an object file or in memory, which contains the global variables that are initialized by the programmer. It has a fixed size, since all of the data in this section is set by the programmer before the program is loaded. However, it is not read-only, since the values of the variables can be altered at runtime. This is in contrast to the Rodata section. In computer science, object file or object code is an intermediate representation of code generated by a compiler after it processes a source code file. ... In computer programming, a global variable is a variable that does not belong to any subroutine in particular and can therefore can be accessed from any context in a program. ... In computing, a programmer is someone who does computer programming and develops computer software. ... Rom is also the name of a toy and comic book character Rom (Spaceknight). ... In computer science, runtime describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). ...
Segment selectors contain three pieces of information: a segment number, a table selector flag, and a request privilege level.
Data reads and writes are defined to use the DS segment by default but can use the ES, FS, or GS segments instead.
If the RPL of a datasegment selector is less privileged than the current privilege level, the processor uses that less priviliged level in determining if the datasegment is accessible.