Data segment: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit
Line 7:
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.
==Program memory==
A computer program memory can be largely categorizedcategrized into two sections: read-only and read-write. This distinction grew from early systems holding their main program in [[read-only memory]] such as [[Mask ROM]], [[Programmable read-only memory|PROM]] or [[EEPROM]]. As systems became more complex and programs were loaded from other media into RAM instead of executing from ROM the idea that some portions of the program's memory should not be modified was retained. These became the ''.text'' and ''.rodata'' segments of the program, and the remainder which could be written to divided into a number of other segments for specific tasks.
 
'''<big>Text</big>'''