From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Great new 386/GAS guide Date: Thu, 04 Sep 1997 16:13:46 -0400 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 11 Message-ID: <340F167A.62C2@cam.org> References: NNTP-Posting-Host: dynamicppp-236.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Gurunandan R. Bhat wrote: > 1) How does one reserve space in a (stand-alone) assembly program if you mean, reserving space for a variable, then you use the .comm directive like this: .comm _x,4 will create a variable (global variable, AFAIK) that could be a char, an int, a float or anything that will get into those 4 bytes. a long will take 8 bytes IIRC so you could say .comm _y,8 and so on. -- --> http://www.cam.org/~tudor <-- Go ahead and build another Messiah We dig another grave...