Expand Down Data Segments (Stack)
Posted: Wed Sep 04, 2002 6:36 am
Hi,
I noticed in the Intel manauls that an expand down data segment must be used with offset's greater than the limit, so a 16bit segment would have a range of LIMIT upto LIMIT + FFFF therefore creating a 64KB stack that can expand by decreasing the LIMIT. However it says nothing about what the base should be. What is the normal base for an expand down segment? What would happen if the base was equal to LIMIT and then LIMIT was decreased?
I noticed in the Intel manauls that an expand down data segment must be used with offset's greater than the limit, so a 16bit segment would have a range of LIMIT upto LIMIT + FFFF therefore creating a 64KB stack that can expand by decreasing the LIMIT. However it says nothing about what the base should be. What is the normal base for an expand down segment? What would happen if the base was equal to LIMIT and then LIMIT was decreased?