Date : Mon, 18 Jul 1994 16:53:05 GMT
From : rtr@... \(\) (Richard Russell \(KW 36684\))
Subject: Re: 64K
Chris,
> I realise that I certainly should be able to get it, I just don't know
> how to! I'm not used to allocating memory by myself (I usually have a
> nice hi-level langauge to do it for me!) and I'm having difficulty
> getting it to. Do you know the best way of allocating memory in
> assembler? I realise it's a real newbie question but I genuinely never
> have come across it before!
What you may have failed to appreciate is that, by default, a .COM
program gives you *all* the remaining base memory of the machine. If you
don't need it all, you have to release some. With a .EXE program, the
amount of memory you need is in the file header; your assembler should
have some directives which allow you to control this.
Richard.