/***************************************************************************
 **
  *  Fixed Vector for R8C/Tiny
  *
  *  Function: define variable vector table
  *

 **************************************************************************/

// poznamka: zmensil jsem velikost tabulky vektoru o -1, aby posledni adresa byla 0xffda
// protoze na odresu 0xffdb potrebuji ulozit registr OFS2
; Variable Vector Table

	 .section	.var_vects,"a",@progbits
	 .type	_VariableVectors, @object
	 //.size	_VariableVectors, 256
	 .size	_VariableVectors, 256-1

 _VariableVectors:

; BRK				(software int 0)
.long	__brk



//; FLASH MEMORY READY		(software int 1)
 //.long	__flash_memory_ready
 .long 0 
 .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

 .long 0 ; 8 reserved
 .long 0 ; 9 reserved




; 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

; ad converter			(software int 14)
.long	__ad_converter

; SSUIC/IICIC		(software int 15)
.long	__ssuic

 .long 0 ; 16 reserved

; uart0 trance		(software int 17)
.long	__uart0_trance

; uart0 receive		(software int 18)
.long	__uart0_receive
#if defined (__STANDARD_IO__)
; uart0 can't be used
#else
; uart0 trance			(software int 19)
.long	__uart1_trance

#endif

; uart0 receive		(software int 20)
.long	__uart1_receive





 .long 0 ; 21 reserved

; 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


 .long 0 ; 27 reserved
 .long 0 ; 28 reserved

; int0				(software int 29)
.long	__int0

; uart2 bus				(software int 30)
.long	__uart2_bcnic


.long 0 ; 31 reserved



 .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
 
; comparator A1 				(software int 50)
.long	__comparator_a1
; comparator A2 			    (software int 51)
.long	__comparator_a2

 .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  toto je v ofs2
  

.end

