🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6276

Re: sub to calc free RAM

#6276
From: Scott C. Sadow
Date: Fri, 11 Dec 1992 04:59
18 lines
947 bytes
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
Technical Details
Message-ID: <1992Dec10.235957@mycro.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!emory!wa4mei!nanovx!mycro!scott
References: <1992Dec8.154229.9434@infonode.ingr.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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