home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!emory!wa4mei!nanovx!mycro!scott
- From: scott@mycro.UUCP (Scott C. Sadow)
- Newsgroups: comp.os.msdos.programmer
- Subject: Re: sub to calc free RAM
- Message-ID: <1992Dec10.235957@mycro.UUCP>
- Date: Thu, 10 Dec 92 23:59:57 EST
- References: <1992Dec8.154229.9434@infonode.ingr.com>
- Lines: 18
-
- In article <1992Dec8.154229.9434@infonode.ingr.com>, fordke@infonode.ingr.com (Keith Ford) writes:
- >
- >I'm trying to calculate the amount of free RAM that is available
- >for a task to spawn into. I pieced together the following subroutine
- >based upon a "mem" program. This is going into a Borland library
- >using the small memory model. I get a warning on the line "MOV AX,ES:[3]"
- >saying "Pointer expression needs brackets."
- >
- > (stuff deleted)
- >
-
-
- In IDEAL mode in TASM, you need to type "MOV AX,[ES:3]" instead"
-
-
- Scott C. Sadow
- scott@mycro.UUCP
- ...gatech!nanovx!mycro!scott
-