L 1					; C Compiler for MC68HC05 (COSMIC Software)
L 2					; Generator V4.1n - 19 Jul 2001
L 3					; Optimizer V4.1n - 19 Jul 2001
L 4					; 3 @interrupt void SWI_ISR(void)
L 5					; 4 {
L 6						xref.b	_SWI_ISR.L
L 7						switch	.text
L 8					1003               _SWI_ISR:
L 9					; 5 }
L 10	[1]	1003	80            	rti	
L 11					; 7 @interrupt void INT1_ISR(void)
L 12					; 8 {
L 13						xref.b	_INT1_ISR.L
L 14						switch	.text
L 15					1004               _INT1_ISR:
L 16					; 10 }
L 17	[1]	1004	80            	rti	
L 18					; 12 @interrupt void PWMINT_ISR(void)
L 19					; 13 {
L 20						xref.b	_PWMINT_ISR.L
L 21						switch	.text
L 22					1005               _PWMINT_ISR:
L 23					; 15 }
L 24	[1]	1005	80            	rti	
L 25					; 16 @nosvf @interrupt void T0INT_ISR(void)
L 26					; 17 {		
L 27						xref.b	_T0INT_ISR.L
L 28						switch	.text
L 29					1006               _T0INT_ISR:
L 30					; 19 }
L 31	[1]	1006	80            	rti	
L 32					; 21 @interrupt void INT0_ISR(void)
L 33					; 22 {
L 34						xref.b	_INT0_ISR.L
L 35						switch	.text
L 36					1007               _INT0_ISR:
L 37					; 24 }
L 38	[1]	1007	80            	rti	
L 39					; 4   void funtion001(unsigned char aa,unsigned char bb)
L 40					; 5   {
L 41						xref.b	_funtion001.L
L 42						switch	.text
L 43					1008               _funtion001:
L 44					; 8     if(aa==bb)
L 45	[1]	1008	b136          	cmp	_funtion001.L+1
L 46					; 11         NOP();
L 47					; 14         NOP();
L 48	[1]	100a	9d            	nop	
L 49					; 16   }
L 50	[1]	100b	81            	rts	
L 51					; 9 void initial()
L 52					; 10 {
L 53						switch	.text
L 54					100c               _initial:
L 55					; 11     SEI(); //disable enterrupt 
L 56	[1]	100c	9b            	sei	
L 57					; 13    OPAOF=0x5A;
L 58	[1]	100d	b616          	lda	_opac
L 59	[1]	100f	a4c0          	and	#192
L 60	[1]	1011	aa1a          	ora	#26
L 61	[1]	1013	b716          	sta	_opac
L 62					; 16 }
L 63	[1]	1015	81            	rts	
L 64					; 18 void main(void)
L 65					; 19 {
L 66						xref.b	_main.L
L 67						switch	.text
L 68					1016               _main:
L 69					; 21     RSP(); //只能在主程序中清，调用子程序中不能清堆栈指针，否则含数将无法返回。
L 70	[1]	1016	9c            	rsp	
L 71					; 22     initial();
L 72	[1]	1017	adf3          	jsr	_initial
L 73					1019               L5112:
L 74					; 29         a++;
L 75	[1]	1019	3c34          	inc	_main.L-1
L 76					; 30         funtion001(4,4);
L 77	[1]	101b	a604          	lda	#4
L 78	[1]	101d	b736          	sta	_funtion001.L+1
L 79	[1]	101f	ade7          	jsr	_funtion001
L 80	[1]	1021	20f6          	bra	L5112
L 81						xdef	_main
L 82						xdef	_initial
L 83						xdef	_funtion001
L 84						xdef	_INT0_ISR
L 85						xdef	_T0INT_ISR
L 86						xdef	_PWMINT_ISR
L 87						xdef	_INT1_ISR
L 88						xdef	_SWI_ISR
L 89						xref.b	_funtion001.L
L 90						end
