Jump to content

Segmented memory

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Endlessnameless (talk | contribs) at 15:11, 25 February 2004 (wikified somewhat, edited for grammar/clarity, added a few details, probably could use a "See also:" section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Segmented memory is a methodology employed by computer programmers. It is the practice of dividing working memory into blocks. The segments are created initially, but generally can be adjusted in size or number at a later time if needed (different operating systems and compilers may place restrictions on how and when this may done, however). This practice allows a programmer to have one segment is a routine, a second segment that captures user input, another segment that contains the main program, and so on. The objective of this is to divide programs into logical blocks in memory that reflect their logical structure or functions. Segment sizes are variable, but the architecture of the machine usually limits the maximum size of individual segments.