;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0x4000
lri $IX1,    #0xbf80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49025 (0xbf81)

lri $AR1,    #0x4000
lri $IX1,    #0xbf81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49026 (0xbf82)

lri $AR1,    #0x4000
lri $IX1,    #0xbf82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49027 (0xbf83)

lri $AR1,    #0x4000
lri $IX1,    #0xbf83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49028 (0xbf84)

lri $AR1,    #0x4000
lri $IX1,    #0xbf84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49029 (0xbf85)

lri $AR1,    #0x4000
lri $IX1,    #0xbf85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49030 (0xbf86)

lri $AR1,    #0x4000
lri $IX1,    #0xbf86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49031 (0xbf87)

lri $AR1,    #0x4000
lri $IX1,    #0xbf87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49032 (0xbf88)

lri $AR1,    #0x4000
lri $IX1,    #0xbf88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49033 (0xbf89)

lri $AR1,    #0x4000
lri $IX1,    #0xbf89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49034 (0xbf8a)

lri $AR1,    #0x4000
lri $IX1,    #0xbf8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49035 (0xbf8b)

lri $AR1,    #0x4000
lri $IX1,    #0xbf8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49036 (0xbf8c)

lri $AR1,    #0x4000
lri $IX1,    #0xbf8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49037 (0xbf8d)

lri $AR1,    #0x4000
lri $IX1,    #0xbf8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49038 (0xbf8e)

lri $AR1,    #0x4000
lri $IX1,    #0xbf8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49039 (0xbf8f)

lri $AR1,    #0x4000
lri $IX1,    #0xbf8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49040 (0xbf90)

lri $AR1,    #0x4000
lri $IX1,    #0xbf90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49041 (0xbf91)

lri $AR1,    #0x4000
lri $IX1,    #0xbf91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49042 (0xbf92)

lri $AR1,    #0x4000
lri $IX1,    #0xbf92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49043 (0xbf93)

lri $AR1,    #0x4000
lri $IX1,    #0xbf93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49044 (0xbf94)

lri $AR1,    #0x4000
lri $IX1,    #0xbf94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49045 (0xbf95)

lri $AR1,    #0x4000
lri $IX1,    #0xbf95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49046 (0xbf96)

lri $AR1,    #0x4000
lri $IX1,    #0xbf96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49047 (0xbf97)

lri $AR1,    #0x4000
lri $IX1,    #0xbf97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49048 (0xbf98)

lri $AR1,    #0x4000
lri $IX1,    #0xbf98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49049 (0xbf99)

lri $AR1,    #0x4000
lri $IX1,    #0xbf99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49050 (0xbf9a)

lri $AR1,    #0x4000
lri $IX1,    #0xbf9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49051 (0xbf9b)

lri $AR1,    #0x4000
lri $IX1,    #0xbf9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49052 (0xbf9c)

lri $AR1,    #0x4000
lri $IX1,    #0xbf9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49053 (0xbf9d)

lri $AR1,    #0x4000
lri $IX1,    #0xbf9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49054 (0xbf9e)

lri $AR1,    #0x4000
lri $IX1,    #0xbf9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49055 (0xbf9f)

lri $AR1,    #0x4000
lri $IX1,    #0xbf9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49056 (0xbfa0)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49057 (0xbfa1)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49058 (0xbfa2)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49059 (0xbfa3)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49060 (0xbfa4)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49061 (0xbfa5)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49062 (0xbfa6)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49063 (0xbfa7)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49064 (0xbfa8)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49065 (0xbfa9)

lri $AR1,    #0x4000
lri $IX1,    #0xbfa9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49066 (0xbfaa)

lri $AR1,    #0x4000
lri $IX1,    #0xbfaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49067 (0xbfab)

lri $AR1,    #0x4000
lri $IX1,    #0xbfab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49068 (0xbfac)

lri $AR1,    #0x4000
lri $IX1,    #0xbfac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49069 (0xbfad)

lri $AR1,    #0x4000
lri $IX1,    #0xbfad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49070 (0xbfae)

lri $AR1,    #0x4000
lri $IX1,    #0xbfae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49071 (0xbfaf)

lri $AR1,    #0x4000
lri $IX1,    #0xbfaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49072 (0xbfb0)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49073 (0xbfb1)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49074 (0xbfb2)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49075 (0xbfb3)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49076 (0xbfb4)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49077 (0xbfb5)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49078 (0xbfb6)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49079 (0xbfb7)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49080 (0xbfb8)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49081 (0xbfb9)

lri $AR1,    #0x4000
lri $IX1,    #0xbfb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49082 (0xbfba)

lri $AR1,    #0x4000
lri $IX1,    #0xbfba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49083 (0xbfbb)

lri $AR1,    #0x4000
lri $IX1,    #0xbfbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49084 (0xbfbc)

lri $AR1,    #0x4000
lri $IX1,    #0xbfbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49085 (0xbfbd)

lri $AR1,    #0x4000
lri $IX1,    #0xbfbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49086 (0xbfbe)

lri $AR1,    #0x4000
lri $IX1,    #0xbfbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49087 (0xbfbf)

lri $AR1,    #0x4000
lri $IX1,    #0xbfbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49088 (0xbfc0)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49089 (0xbfc1)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49090 (0xbfc2)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49091 (0xbfc3)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49092 (0xbfc4)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49093 (0xbfc5)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49094 (0xbfc6)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49095 (0xbfc7)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49096 (0xbfc8)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49097 (0xbfc9)

lri $AR1,    #0x4000
lri $IX1,    #0xbfc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49098 (0xbfca)

lri $AR1,    #0x4000
lri $IX1,    #0xbfca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49099 (0xbfcb)

lri $AR1,    #0x4000
lri $IX1,    #0xbfcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49100 (0xbfcc)

lri $AR1,    #0x4000
lri $IX1,    #0xbfcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49101 (0xbfcd)

lri $AR1,    #0x4000
lri $IX1,    #0xbfcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49102 (0xbfce)

lri $AR1,    #0x4000
lri $IX1,    #0xbfce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49103 (0xbfcf)

lri $AR1,    #0x4000
lri $IX1,    #0xbfcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49104 (0xbfd0)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49105 (0xbfd1)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49106 (0xbfd2)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49107 (0xbfd3)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49108 (0xbfd4)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49109 (0xbfd5)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49110 (0xbfd6)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49111 (0xbfd7)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49112 (0xbfd8)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49113 (0xbfd9)

lri $AR1,    #0x4000
lri $IX1,    #0xbfd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49114 (0xbfda)

lri $AR1,    #0x4000
lri $IX1,    #0xbfda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49115 (0xbfdb)

lri $AR1,    #0x4000
lri $IX1,    #0xbfdb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49116 (0xbfdc)

lri $AR1,    #0x4000
lri $IX1,    #0xbfdc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49117 (0xbfdd)

lri $AR1,    #0x4000
lri $IX1,    #0xbfdd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49118 (0xbfde)

lri $AR1,    #0x4000
lri $IX1,    #0xbfde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49119 (0xbfdf)

lri $AR1,    #0x4000
lri $IX1,    #0xbfdf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49120 (0xbfe0)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49121 (0xbfe1)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49122 (0xbfe2)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49123 (0xbfe3)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49124 (0xbfe4)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49125 (0xbfe5)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49126 (0xbfe6)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49127 (0xbfe7)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49128 (0xbfe8)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49129 (0xbfe9)

lri $AR1,    #0x4000
lri $IX1,    #0xbfe9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49130 (0xbfea)

lri $AR1,    #0x4000
lri $IX1,    #0xbfea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49131 (0xbfeb)

lri $AR1,    #0x4000
lri $IX1,    #0xbfeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49132 (0xbfec)

lri $AR1,    #0x4000
lri $IX1,    #0xbfec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49133 (0xbfed)

lri $AR1,    #0x4000
lri $IX1,    #0xbfed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49134 (0xbfee)

lri $AR1,    #0x4000
lri $IX1,    #0xbfee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49135 (0xbfef)

lri $AR1,    #0x4000
lri $IX1,    #0xbfef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49136 (0xbff0)

lri $AR1,    #0x4000
lri $IX1,    #0xbff0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49137 (0xbff1)

lri $AR1,    #0x4000
lri $IX1,    #0xbff1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49138 (0xbff2)

lri $AR1,    #0x4000
lri $IX1,    #0xbff2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49139 (0xbff3)

lri $AR1,    #0x4000
lri $IX1,    #0xbff3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49140 (0xbff4)

lri $AR1,    #0x4000
lri $IX1,    #0xbff4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49141 (0xbff5)

lri $AR1,    #0x4000
lri $IX1,    #0xbff5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49142 (0xbff6)

lri $AR1,    #0x4000
lri $IX1,    #0xbff6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49143 (0xbff7)

lri $AR1,    #0x4000
lri $IX1,    #0xbff7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49144 (0xbff8)

lri $AR1,    #0x4000
lri $IX1,    #0xbff8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49145 (0xbff9)

lri $AR1,    #0x4000
lri $IX1,    #0xbff9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49146 (0xbffa)

lri $AR1,    #0x4000
lri $IX1,    #0xbffa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49147 (0xbffb)

lri $AR1,    #0x4000
lri $IX1,    #0xbffb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49148 (0xbffc)

lri $AR1,    #0x4000
lri $IX1,    #0xbffc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49149 (0xbffd)

lri $AR1,    #0x4000
lri $IX1,    #0xbffd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49150 (0xbffe)

lri $AR1,    #0x4000
lri $IX1,    #0xbffe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49151 (0xbfff)

lri $AR1,    #0x4000
lri $IX1,    #0xbfff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49152 (0xc000)

; We're done, DO NOT DELETE THIS LINE
jmp end_of_test

