From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-05-13 11:28:34
Hi!
On Mon, May 12, 2003 at 04:37:00PM +0200, MagerValp wrote:
>
> Does this create dead space inbetween foo and buffer?
In most cases: yes (depends on the address).
> If so, does the
> linker use that space for other variables?
No.
> And if I declare several
> variables next to eachother (like foo and bar), are they guaranteed to
> end up next to eachother in memory (ie is bar == foo+4)?
Yes - provided that there is no new segment directive between the two.
Regards
Uz
--
Ullrich von Bassewitz uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-05-13 11:28:41 CEST