[comp.sys.atari.st] assembly question

sandra@utah-cs.UUCP (Sandra J Loosemore) (06/15/87)

Is there a way to tell the Alcyon assembler to force a data object (declared
with dc.?, for example) to be aligned on a particular boundary?  For
instance, the VAX/VMS assembler lets me say something like .align 8 and it 
will force alignment on a 256-byte (2**8) boundary.  If Alcyon doesn't
allow it, are there any other assemblers for the ST that do?

-Sandra Loosemore
(sandra@cs.utah.edu, sandra@utah-cs.uucp)

dyer@atari.UUCP (06/16/87)

in article <4643@utah-cs.UUCP>, sandra@utah-cs.UUCP (Sandra J Loosemore) says:
> Is there a way to tell the Alcyon assembler to force a data object (declared
> with dc.?, for example) to be aligned on a particular boundary?  For
> instance, the VAX/VMS assembler lets me say something like .align 8 and it 
> will force alignment on a 256-byte (2**8) boundary.  If Alcyon doesn't
> allow it, are there any other assemblers for the ST that do?

In Alcyon [no one can hear you scream] all you can say is:

	.even

to get 16-bit alignment.  If you want absolute alignment ("put this
instruction on an 8-byte boundary") you will have to do that at
run-time, since applications can be loaded into memory at any even
address.

-- 
-Landon Dyer, Atari Corporation	       {sun,amdcad,lll-lcc,imagen}!atari!dyer
The views expressed here do not necessarily reflect those	     BUSINESS
of Atari or the AI software that has taken over my brain.	     IS
Yow! I am waiting for my warranty-expired interrupt!		     HELL