From: xmerm05 AT vse DOT cz (Mertl Michal - UC,,student,UID=22797) Newsgroups: comp.os.msdos.djgpp Subject: Re: Great new 386/GAS guide Date: Fri, 5 Sep 1997 11:53:27 GMT Organization: University of Economy, Prague Lines: 12 Message-ID: References: <340F167A DOT 62C2 AT cam DOT org> NNTP-Posting-Host: j357h10.vse.cz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vic wrote: >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. Doesn't long use also 4 bytes (32 bit)? Michal "MiMe" Mertl E-Mail: XMERM05vse.cz