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

lri $AR1,    #0x4000
lri $IX1,    #0x4280
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17025 (0x4281)

lri $AR1,    #0x4000
lri $IX1,    #0x4281
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17026 (0x4282)

lri $AR1,    #0x4000
lri $IX1,    #0x4282
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17027 (0x4283)

lri $AR1,    #0x4000
lri $IX1,    #0x4283
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17028 (0x4284)

lri $AR1,    #0x4000
lri $IX1,    #0x4284
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17029 (0x4285)

lri $AR1,    #0x4000
lri $IX1,    #0x4285
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17030 (0x4286)

lri $AR1,    #0x4000
lri $IX1,    #0x4286
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17031 (0x4287)

lri $AR1,    #0x4000
lri $IX1,    #0x4287
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17032 (0x4288)

lri $AR1,    #0x4000
lri $IX1,    #0x4288
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17033 (0x4289)

lri $AR1,    #0x4000
lri $IX1,    #0x4289
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17034 (0x428a)

lri $AR1,    #0x4000
lri $IX1,    #0x428a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17035 (0x428b)

lri $AR1,    #0x4000
lri $IX1,    #0x428b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17036 (0x428c)

lri $AR1,    #0x4000
lri $IX1,    #0x428c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17037 (0x428d)

lri $AR1,    #0x4000
lri $IX1,    #0x428d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17038 (0x428e)

lri $AR1,    #0x4000
lri $IX1,    #0x428e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17039 (0x428f)

lri $AR1,    #0x4000
lri $IX1,    #0x428f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17040 (0x4290)

lri $AR1,    #0x4000
lri $IX1,    #0x4290
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17041 (0x4291)

lri $AR1,    #0x4000
lri $IX1,    #0x4291
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17042 (0x4292)

lri $AR1,    #0x4000
lri $IX1,    #0x4292
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17043 (0x4293)

lri $AR1,    #0x4000
lri $IX1,    #0x4293
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17044 (0x4294)

lri $AR1,    #0x4000
lri $IX1,    #0x4294
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17045 (0x4295)

lri $AR1,    #0x4000
lri $IX1,    #0x4295
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17046 (0x4296)

lri $AR1,    #0x4000
lri $IX1,    #0x4296
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17047 (0x4297)

lri $AR1,    #0x4000
lri $IX1,    #0x4297
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17048 (0x4298)

lri $AR1,    #0x4000
lri $IX1,    #0x4298
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17049 (0x4299)

lri $AR1,    #0x4000
lri $IX1,    #0x4299
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17050 (0x429a)

lri $AR1,    #0x4000
lri $IX1,    #0x429a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17051 (0x429b)

lri $AR1,    #0x4000
lri $IX1,    #0x429b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17052 (0x429c)

lri $AR1,    #0x4000
lri $IX1,    #0x429c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17053 (0x429d)

lri $AR1,    #0x4000
lri $IX1,    #0x429d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17054 (0x429e)

lri $AR1,    #0x4000
lri $IX1,    #0x429e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17055 (0x429f)

lri $AR1,    #0x4000
lri $IX1,    #0x429f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17056 (0x42a0)

lri $AR1,    #0x4000
lri $IX1,    #0x42a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17057 (0x42a1)

lri $AR1,    #0x4000
lri $IX1,    #0x42a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17058 (0x42a2)

lri $AR1,    #0x4000
lri $IX1,    #0x42a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17059 (0x42a3)

lri $AR1,    #0x4000
lri $IX1,    #0x42a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17060 (0x42a4)

lri $AR1,    #0x4000
lri $IX1,    #0x42a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17061 (0x42a5)

lri $AR1,    #0x4000
lri $IX1,    #0x42a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17062 (0x42a6)

lri $AR1,    #0x4000
lri $IX1,    #0x42a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17063 (0x42a7)

lri $AR1,    #0x4000
lri $IX1,    #0x42a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17064 (0x42a8)

lri $AR1,    #0x4000
lri $IX1,    #0x42a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17065 (0x42a9)

lri $AR1,    #0x4000
lri $IX1,    #0x42a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17066 (0x42aa)

lri $AR1,    #0x4000
lri $IX1,    #0x42aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17067 (0x42ab)

lri $AR1,    #0x4000
lri $IX1,    #0x42ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17068 (0x42ac)

lri $AR1,    #0x4000
lri $IX1,    #0x42ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17069 (0x42ad)

lri $AR1,    #0x4000
lri $IX1,    #0x42ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17070 (0x42ae)

lri $AR1,    #0x4000
lri $IX1,    #0x42ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17071 (0x42af)

lri $AR1,    #0x4000
lri $IX1,    #0x42af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17072 (0x42b0)

lri $AR1,    #0x4000
lri $IX1,    #0x42b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17073 (0x42b1)

lri $AR1,    #0x4000
lri $IX1,    #0x42b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17074 (0x42b2)

lri $AR1,    #0x4000
lri $IX1,    #0x42b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17075 (0x42b3)

lri $AR1,    #0x4000
lri $IX1,    #0x42b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17076 (0x42b4)

lri $AR1,    #0x4000
lri $IX1,    #0x42b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17077 (0x42b5)

lri $AR1,    #0x4000
lri $IX1,    #0x42b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17078 (0x42b6)

lri $AR1,    #0x4000
lri $IX1,    #0x42b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17079 (0x42b7)

lri $AR1,    #0x4000
lri $IX1,    #0x42b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17080 (0x42b8)

lri $AR1,    #0x4000
lri $IX1,    #0x42b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17081 (0x42b9)

lri $AR1,    #0x4000
lri $IX1,    #0x42b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17082 (0x42ba)

lri $AR1,    #0x4000
lri $IX1,    #0x42ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17083 (0x42bb)

lri $AR1,    #0x4000
lri $IX1,    #0x42bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17084 (0x42bc)

lri $AR1,    #0x4000
lri $IX1,    #0x42bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17085 (0x42bd)

lri $AR1,    #0x4000
lri $IX1,    #0x42bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17086 (0x42be)

lri $AR1,    #0x4000
lri $IX1,    #0x42be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17087 (0x42bf)

lri $AR1,    #0x4000
lri $IX1,    #0x42bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17088 (0x42c0)

lri $AR1,    #0x4000
lri $IX1,    #0x42c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17089 (0x42c1)

lri $AR1,    #0x4000
lri $IX1,    #0x42c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17090 (0x42c2)

lri $AR1,    #0x4000
lri $IX1,    #0x42c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17091 (0x42c3)

lri $AR1,    #0x4000
lri $IX1,    #0x42c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17092 (0x42c4)

lri $AR1,    #0x4000
lri $IX1,    #0x42c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17093 (0x42c5)

lri $AR1,    #0x4000
lri $IX1,    #0x42c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17094 (0x42c6)

lri $AR1,    #0x4000
lri $IX1,    #0x42c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17095 (0x42c7)

lri $AR1,    #0x4000
lri $IX1,    #0x42c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17096 (0x42c8)

lri $AR1,    #0x4000
lri $IX1,    #0x42c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17097 (0x42c9)

lri $AR1,    #0x4000
lri $IX1,    #0x42c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17098 (0x42ca)

lri $AR1,    #0x4000
lri $IX1,    #0x42ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17099 (0x42cb)

lri $AR1,    #0x4000
lri $IX1,    #0x42cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17100 (0x42cc)

lri $AR1,    #0x4000
lri $IX1,    #0x42cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17101 (0x42cd)

lri $AR1,    #0x4000
lri $IX1,    #0x42cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17102 (0x42ce)

lri $AR1,    #0x4000
lri $IX1,    #0x42ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17103 (0x42cf)

lri $AR1,    #0x4000
lri $IX1,    #0x42cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17104 (0x42d0)

lri $AR1,    #0x4000
lri $IX1,    #0x42d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17105 (0x42d1)

lri $AR1,    #0x4000
lri $IX1,    #0x42d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17106 (0x42d2)

lri $AR1,    #0x4000
lri $IX1,    #0x42d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17107 (0x42d3)

lri $AR1,    #0x4000
lri $IX1,    #0x42d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17108 (0x42d4)

lri $AR1,    #0x4000
lri $IX1,    #0x42d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17109 (0x42d5)

lri $AR1,    #0x4000
lri $IX1,    #0x42d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17110 (0x42d6)

lri $AR1,    #0x4000
lri $IX1,    #0x42d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17111 (0x42d7)

lri $AR1,    #0x4000
lri $IX1,    #0x42d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17112 (0x42d8)

lri $AR1,    #0x4000
lri $IX1,    #0x42d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17113 (0x42d9)

lri $AR1,    #0x4000
lri $IX1,    #0x42d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17114 (0x42da)

lri $AR1,    #0x4000
lri $IX1,    #0x42da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17115 (0x42db)

lri $AR1,    #0x4000
lri $IX1,    #0x42db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17116 (0x42dc)

lri $AR1,    #0x4000
lri $IX1,    #0x42dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17117 (0x42dd)

lri $AR1,    #0x4000
lri $IX1,    #0x42dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17118 (0x42de)

lri $AR1,    #0x4000
lri $IX1,    #0x42de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17119 (0x42df)

lri $AR1,    #0x4000
lri $IX1,    #0x42df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17120 (0x42e0)

lri $AR1,    #0x4000
lri $IX1,    #0x42e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17121 (0x42e1)

lri $AR1,    #0x4000
lri $IX1,    #0x42e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17122 (0x42e2)

lri $AR1,    #0x4000
lri $IX1,    #0x42e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17123 (0x42e3)

lri $AR1,    #0x4000
lri $IX1,    #0x42e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17124 (0x42e4)

lri $AR1,    #0x4000
lri $IX1,    #0x42e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17125 (0x42e5)

lri $AR1,    #0x4000
lri $IX1,    #0x42e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17126 (0x42e6)

lri $AR1,    #0x4000
lri $IX1,    #0x42e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17127 (0x42e7)

lri $AR1,    #0x4000
lri $IX1,    #0x42e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17128 (0x42e8)

lri $AR1,    #0x4000
lri $IX1,    #0x42e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17129 (0x42e9)

lri $AR1,    #0x4000
lri $IX1,    #0x42e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17130 (0x42ea)

lri $AR1,    #0x4000
lri $IX1,    #0x42ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17131 (0x42eb)

lri $AR1,    #0x4000
lri $IX1,    #0x42eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17132 (0x42ec)

lri $AR1,    #0x4000
lri $IX1,    #0x42ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17133 (0x42ed)

lri $AR1,    #0x4000
lri $IX1,    #0x42ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17134 (0x42ee)

lri $AR1,    #0x4000
lri $IX1,    #0x42ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17135 (0x42ef)

lri $AR1,    #0x4000
lri $IX1,    #0x42ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17136 (0x42f0)

lri $AR1,    #0x4000
lri $IX1,    #0x42f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17137 (0x42f1)

lri $AR1,    #0x4000
lri $IX1,    #0x42f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17138 (0x42f2)

lri $AR1,    #0x4000
lri $IX1,    #0x42f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17139 (0x42f3)

lri $AR1,    #0x4000
lri $IX1,    #0x42f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17140 (0x42f4)

lri $AR1,    #0x4000
lri $IX1,    #0x42f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17141 (0x42f5)

lri $AR1,    #0x4000
lri $IX1,    #0x42f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17142 (0x42f6)

lri $AR1,    #0x4000
lri $IX1,    #0x42f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17143 (0x42f7)

lri $AR1,    #0x4000
lri $IX1,    #0x42f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17144 (0x42f8)

lri $AR1,    #0x4000
lri $IX1,    #0x42f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17145 (0x42f9)

lri $AR1,    #0x4000
lri $IX1,    #0x42f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17146 (0x42fa)

lri $AR1,    #0x4000
lri $IX1,    #0x42fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17147 (0x42fb)

lri $AR1,    #0x4000
lri $IX1,    #0x42fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17148 (0x42fc)

lri $AR1,    #0x4000
lri $IX1,    #0x42fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17149 (0x42fd)

lri $AR1,    #0x4000
lri $IX1,    #0x42fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17150 (0x42fe)

lri $AR1,    #0x4000
lri $IX1,    #0x42fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17151 (0x42ff)

lri $AR1,    #0x4000
lri $IX1,    #0x42ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 17152 (0x4300)

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

