Quantcast
Channel: what determines the memory model? - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Victor Sorokin for what determines the memory model?

There's nothing in DOS that can stop COM file from using segmented memory model, since DOS had no memory management policy enforced on it's applications.You can read wikipedia entry about COM files, it...

View Article



Answer by Ernest Friedman-Hill for what determines the memory model?

COM files used a "flat memory model" in the sense that the segment registers were alll set by DOS when the program was loaded to point to the same segment, and all the code and pointers were, by...

View Article

Answer by David Pointer for what determines the memory model?

The COM and EXE executables had their memory requirements in a file header: EXE header and COM (MS-DOS) header. If the program requires < 64KB, use the flat space, if > 64KB, use segmented memory.

View Article

what determines the memory model?

Specifically this question is about flat and segmented model in real mode. I am reading a book on assembly which mentions that on DOS the COM files use flat memory model and EXE files use segmented...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images