Re: [cc65] Best way to get aligned memory...

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-01-13 18:06:06


Hi!

On Mon, Jan 13, 2003 at 10:20:21AM +0100, Christian Krüger wrote:
> Maybe a very silly question, but when I have to use assembler
> to get aligned memory efficiently , why doesn't work the following
> (or does it work?):

Because .ALIGN needs the segment to be aligned to that boundary, but BSS has
an alignment of 1. At least this is how it is currently implemented. Groepaz
already complained about it (loudly:-), so it may get changed, but it's very
low priority.

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.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-13 18:06:30 CET