* Initialization routine that enables the interrupts at the 
* detection of a rising edge of a signal applied on PA0.

ITIC3	BCLR	DDRA,$01	;PA0 input
	LDAA	#$01		;[EDG3B:EDG3A]=[0:1]
	STAA	TCTL2		;select rising edge
	BSET	TFLG1,$01	;clear IC3F if any
	BSET	TMSK1,$01	;enable TIC3 interrupts
	RET
