2005.11                                                                    
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                       

/***************************************************************************
 **
  *  Fixed Vector for R8C/Tiny
  *
  *  Function: define variable vector table
  *

 **************************************************************************/
; Variable Vector Table

	 .section	.var_vects,"a",@progbits
	 .type	_VariableVectors, @object
	 .size	_VariableVectors, 256

 _VariableVectors:

; BRK				(software int 0)
.long	__brk

 .long 0 ; 1 reserved
 .long 0 ; 2 reserved
 .long 0 ; 3 reserved
 .long 0 ; 4 reserved
 .long 0 ; 5 reserved
 .long 0 ; 6 reserved

; timer RC			(software int 7)
.long	__timer_rc

; timer RD (channel 0)		(software int 8)
.long	__timer_rd0

; timer RD (channel 1)		(software int 9)
.long	__timer_rd1

; timer RE			(software int 10)
.long	__timer_re

; uart2 trance		(software int 11)
.long	__uart2_trance

; uart2 receive		(software int 12)
.long	__uart2_receive

; input_key			(software int 13)
.long	__input_key

 .long 0 ; 14 reserved

; SSU  IIC			(software int 15)
.long	__ssu

; Compare 1			(software int 16)
.long	__compare1

#if defined (__STANDARD_IO__) && (defined(__FOUSB__) ||  defined(__E8__))
; uart0 can't be used
#else
; uart0 trance			(software int 17)
.long	__uart0_trance

#endif

; uart0 receive		(software int 18)
.long	__uart0_receive


#if defined(__STANDARD_IO__) || defined(__FOUSB__) || defined(__E8__)
; uart1 can't be used
#else
; uart1 trance			(software int 19)
.long	__uart1_trance

#endif

; uart1 receive		(software int 20)
.long	__uart1_receive

; int2				(software int 21)
.long	__int2

; timer RA			(software int 22)
.long	__timer_ra

 .long 0 ; 23 reserved

; timer RB			(software int 24)
.long	__timer_rb

; int1				(software int 25)
.long	__int1

; int3				(software int 26)
.long	__int3

; timer RF			(software int 27)
.long	__timer_rf

; Compare 0			(software int 28)
.long	__compare0

; int0				(software int 29)
.long	__int0

; A-D converter		(software int 30)
.long	__ad_converter

; Capture			(software int 31)
.long	__capture


 .long 0 ; 32 for user
 .long 0 ; 33 for user
 .long 0 ; 34 for user
 .long 0 ; 35 for user
 .long 0 ; 36 for user
 .long 0 ; 37 for user
 .long 0 ; 38 for user
 .long 0 ; 39 for user
 .long 0 ; 40 for user
 .long 0 ; 41 for user
 .long 0 ; 42 for user
 .long 0 ; 43 for user
 .long 0 ; 44 for user
 .long 0 ; 45 for user
 .long 0 ; 46  for user
 .long 0 ; 47  for user
 .long 0 ; 48  for user
 .long 0 ; 49  for user
 .long 0 ; 50  for user
 .long 0 ; 51  for user
 .long 0 ; 52  for user
 .long 0 ; 53  for user
 .long 0 ; 54  for user
 .long 0 ; 55  for user
 .long 0 ; 56  for user
 .long 0 ; 57  for user
 .long 0 ; 58  for user
 .long 0 ; 59  for user
 .long 0 ; 60  for user
 .long 0 ; 61  for user
 .long 0 ; 62  for user
 .long 0 ; 63  for user

.end

