Jump to content

Talk:Code segment

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 118.208.38.118 (talk) at 09:33, 12 March 2014 (terminology: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Unassessed
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.

"As a memory region, a code segment may be placed below the heap or stack in order to prevent heap and stack overflows from overwriting it."

Not too sure about the 'below' part. The stack is commonly implemented as 'upside-down' (pushing onto the stack reduces stack pointer register) so it would make more sense to have it in memory that is 'higher' than the stack. — Preceding unsigned comment added by 176.249.187.76 (talk) 13:35, 16 January 2014 (UTC)[reply]

terminology

Why is the code segment also called the text segment? 118.208.38.118 (talk) 09:33, 12 March 2014 (UTC)[reply]