	page	132,66,3,3
	opt	nomd,mex,cre,cex,mu,rc

	include	'sintab.mac'
	include 'ditfft.mac'
;
; Main program to call the FFT macro
;
;	N point complex DIT FFT
;	M FFT passes
;	Data starts at address 0
;	Twiddle factor table starts at address N
;
; Command line example for a 16 point FFT:
;
;	asm56000 -b -l -dPOINTS '16' -dPASSES '4' ditfft
;

points	equ	POINTS
passes	equ	PASSES
twiddle	equ	POINTS
reset	equ	0
data	equ	0
start	equ	$100

	sintab	points,twiddle

	org	p:reset
	jmp	start

	org	p:start
	ditfft	points,passes,data,twiddle
	end
