View Single Post
Old 15 January 2015, 20:28   #6
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
This will work too:

Code:
PAD4		MACRO
.\@size		= *-\1
.\@size2	= ((.\@size+4)/4)*4
		ds.b	.\@size2-.\@size
		ENDM

data	ds.b	3

	PAD4	data

aligned_data
(quickly adapted my macro to align data to a 512 byte boundary)
StingRay is offline  
 
Page generated in 0.04581 seconds with 11 queries