After a heated arguement with a friend over what he calls "bloat-ware" I tried to find how much of my file size is unneeded dribble. I found out that tasm produces the smallest files for simple programs and then I looked into more detail as to that.

It appears that the first 512 bytes are reserved for something special (for my simple program they were mostly 0x00) and my program is the last 71 bytes.

My question: What are those first 512 bytes used for? They don't show up if I use DOS debug. It appears they are talking to the OS and getting memory data, but that is all I can gather.

Can anybody shed some light on the situation?
Thanks

Well what kind of output did you generate?

Was it a COM file or an EXE file?
What memory model?

probably some other questions I can't be bothered to think about at the moment....

> Can anybody shed some light on the situation?
Sure, no problemo

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.