Jump to content
  • Advertisement


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


64K Segments

This topic is 6087 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 GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!