Advertisement Jump to content


This topic is now archived and is closed to further replies.


64K Segments

This topic is 6179 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Programs running in 16 bit real and protected mode are divided into segments that can not be larger than 64K. What exactly does that mean? I understand the modes, but I don''t understand what part of the program can''t be larger than 64K. Is it the program itself, or is its stack split into 64k segments? Could someone elaborate for me?

Share this post

Link to post
Share on other sites
If I remember correctly, the memory models tell you what this means. For example, the small memory model only allows you to have one segment, 64k in size, for both your instructions and your data. The medium memory model allows for multiple code and data segments, i.e., you can have a few segments for your instructions, and a few segments for data. Hope this helps.



Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!