From: Daniel Pralle (daniel.pralle_at_gmx.de)
Date: 2002-07-17 00:18:10
Ullrich von Bassewitz wrote: >Hi! > >On Tue, Jul 16, 2002 at 06:02:44PM +0200, groepaz wrote: > > >>UvB> Currently not, because ".align 2" requires the binary to get also aligned on >>UvB> an even start address. >> >>OH... how comes? (in what way is .align useful at all if it works like >>this ?!) >> >> > >Ok, maybe you can teach me something:-) How do you think, .align could be >implemented in the assembler, if the start address of the binary is arbitrary >and unknown at assembly time? > Can't you make the Assumption at link-time that the codes starts on an addres wich is aligned to the 'align-value', and include a small proggy in the startup-code which moves the code at startup to a 'that-way-aligned' addres? Maybe I missed the point of the problem, or left out some thoughts. Hope to have been helpful :) salut, daniel > > ---------------------------------------------------------------------- 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 : 2002-07-17 00:19:00 CEST