delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/19/01:04:15

From: frazer AT rtp DOT ericsson DOT se (Scott Frazer)
Newsgroups: comp.os.msdos.djgpp
Subject: Reserving space using AS
Date: Wed, 18 Sep 1996 22:54:27 GMT
Organization: Ericsson Data Services Americas
Lines: 18
Message-ID: <51pjsa$rsu@cnn.exu.ericsson.se>
NNTP-Posting-Host: pc340.rtp.ericsson.se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I would like to reserve a chunk of memory for a buffer in assembly
similar to this:

	.data
_ExampleBuffer:
	.align 4
	.fill  100000, 1, 0

This works fine, but the executable size goes up 100k!  I think
maybe '.comm', '.lcomm', or '.space' might do the trick, but I
would rather know the right way now rather than messing things
up when I blank the buffer and spend time trying to find 
unrelated bugs.

TIA,
Scott


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019