All pastes #607925 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-07 23:39 UTC
rendered paste body
; align_m - Does the same thing as align... except it doesn't fucking OVERFLOW Asdfsdfghsdfghsfg

align_m macro boundary
	if (*#boundary) <> 0
		org *+(boundary-(*#boundary))
	endif
	endm


; cnop - same thing as in snasm68k

cnop macro subtractor,boundary
	IF (*#boundary) > (boundary+(subtractor))
		align_m boundary
		dc.b 0
		align_m boundary
	ELSEIF
		align_m boundary
	ENDIF
		org *+(subtractor)
	endm