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

lri $AR1,    #0x1380
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4993 (0x1381)

lri $AR1,    #0x1381
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4994 (0x1382)

lri $AR1,    #0x1382
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4995 (0x1383)

lri $AR1,    #0x1383
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4996 (0x1384)

lri $AR1,    #0x1384
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4997 (0x1385)

lri $AR1,    #0x1385
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4998 (0x1386)

lri $AR1,    #0x1386
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4999 (0x1387)

lri $AR1,    #0x1387
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5000 (0x1388)

lri $AR1,    #0x1388
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5001 (0x1389)

lri $AR1,    #0x1389
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5002 (0x138a)

lri $AR1,    #0x138a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5003 (0x138b)

lri $AR1,    #0x138b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5004 (0x138c)

lri $AR1,    #0x138c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5005 (0x138d)

lri $AR1,    #0x138d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5006 (0x138e)

lri $AR1,    #0x138e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5007 (0x138f)

lri $AR1,    #0x138f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5008 (0x1390)

lri $AR1,    #0x1390
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5009 (0x1391)

lri $AR1,    #0x1391
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5010 (0x1392)

lri $AR1,    #0x1392
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5011 (0x1393)

lri $AR1,    #0x1393
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5012 (0x1394)

lri $AR1,    #0x1394
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5013 (0x1395)

lri $AR1,    #0x1395
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5014 (0x1396)

lri $AR1,    #0x1396
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5015 (0x1397)

lri $AR1,    #0x1397
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5016 (0x1398)

lri $AR1,    #0x1398
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5017 (0x1399)

lri $AR1,    #0x1399
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5018 (0x139a)

lri $AR1,    #0x139a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5019 (0x139b)

lri $AR1,    #0x139b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5020 (0x139c)

lri $AR1,    #0x139c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5021 (0x139d)

lri $AR1,    #0x139d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5022 (0x139e)

lri $AR1,    #0x139e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5023 (0x139f)

lri $AR1,    #0x139f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5024 (0x13a0)

lri $AR1,    #0x13a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5025 (0x13a1)

lri $AR1,    #0x13a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5026 (0x13a2)

lri $AR1,    #0x13a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5027 (0x13a3)

lri $AR1,    #0x13a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5028 (0x13a4)

lri $AR1,    #0x13a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5029 (0x13a5)

lri $AR1,    #0x13a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5030 (0x13a6)

lri $AR1,    #0x13a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5031 (0x13a7)

lri $AR1,    #0x13a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5032 (0x13a8)

lri $AR1,    #0x13a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5033 (0x13a9)

lri $AR1,    #0x13a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5034 (0x13aa)

lri $AR1,    #0x13aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5035 (0x13ab)

lri $AR1,    #0x13ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5036 (0x13ac)

lri $AR1,    #0x13ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5037 (0x13ad)

lri $AR1,    #0x13ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5038 (0x13ae)

lri $AR1,    #0x13ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5039 (0x13af)

lri $AR1,    #0x13af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5040 (0x13b0)

lri $AR1,    #0x13b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5041 (0x13b1)

lri $AR1,    #0x13b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5042 (0x13b2)

lri $AR1,    #0x13b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5043 (0x13b3)

lri $AR1,    #0x13b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5044 (0x13b4)

lri $AR1,    #0x13b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5045 (0x13b5)

lri $AR1,    #0x13b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5046 (0x13b6)

lri $AR1,    #0x13b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5047 (0x13b7)

lri $AR1,    #0x13b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5048 (0x13b8)

lri $AR1,    #0x13b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5049 (0x13b9)

lri $AR1,    #0x13b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5050 (0x13ba)

lri $AR1,    #0x13ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5051 (0x13bb)

lri $AR1,    #0x13bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5052 (0x13bc)

lri $AR1,    #0x13bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5053 (0x13bd)

lri $AR1,    #0x13bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5054 (0x13be)

lri $AR1,    #0x13be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5055 (0x13bf)

lri $AR1,    #0x13bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5056 (0x13c0)

lri $AR1,    #0x13c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5057 (0x13c1)

lri $AR1,    #0x13c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5058 (0x13c2)

lri $AR1,    #0x13c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5059 (0x13c3)

lri $AR1,    #0x13c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5060 (0x13c4)

lri $AR1,    #0x13c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5061 (0x13c5)

lri $AR1,    #0x13c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5062 (0x13c6)

lri $AR1,    #0x13c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5063 (0x13c7)

lri $AR1,    #0x13c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5064 (0x13c8)

lri $AR1,    #0x13c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5065 (0x13c9)

lri $AR1,    #0x13c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5066 (0x13ca)

lri $AR1,    #0x13ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5067 (0x13cb)

lri $AR1,    #0x13cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5068 (0x13cc)

lri $AR1,    #0x13cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5069 (0x13cd)

lri $AR1,    #0x13cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5070 (0x13ce)

lri $AR1,    #0x13ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5071 (0x13cf)

lri $AR1,    #0x13cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5072 (0x13d0)

lri $AR1,    #0x13d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5073 (0x13d1)

lri $AR1,    #0x13d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5074 (0x13d2)

lri $AR1,    #0x13d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5075 (0x13d3)

lri $AR1,    #0x13d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5076 (0x13d4)

lri $AR1,    #0x13d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5077 (0x13d5)

lri $AR1,    #0x13d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5078 (0x13d6)

lri $AR1,    #0x13d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5079 (0x13d7)

lri $AR1,    #0x13d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5080 (0x13d8)

lri $AR1,    #0x13d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5081 (0x13d9)

lri $AR1,    #0x13d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5082 (0x13da)

lri $AR1,    #0x13da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5083 (0x13db)

lri $AR1,    #0x13db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5084 (0x13dc)

lri $AR1,    #0x13dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5085 (0x13dd)

lri $AR1,    #0x13dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5086 (0x13de)

lri $AR1,    #0x13de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5087 (0x13df)

lri $AR1,    #0x13df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5088 (0x13e0)

lri $AR1,    #0x13e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5089 (0x13e1)

lri $AR1,    #0x13e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5090 (0x13e2)

lri $AR1,    #0x13e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5091 (0x13e3)

lri $AR1,    #0x13e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5092 (0x13e4)

lri $AR1,    #0x13e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5093 (0x13e5)

lri $AR1,    #0x13e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5094 (0x13e6)

lri $AR1,    #0x13e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5095 (0x13e7)

lri $AR1,    #0x13e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5096 (0x13e8)

lri $AR1,    #0x13e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5097 (0x13e9)

lri $AR1,    #0x13e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5098 (0x13ea)

lri $AR1,    #0x13ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5099 (0x13eb)

lri $AR1,    #0x13eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5100 (0x13ec)

lri $AR1,    #0x13ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5101 (0x13ed)

lri $AR1,    #0x13ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5102 (0x13ee)

lri $AR1,    #0x13ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5103 (0x13ef)

lri $AR1,    #0x13ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5104 (0x13f0)

lri $AR1,    #0x13f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5105 (0x13f1)

lri $AR1,    #0x13f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5106 (0x13f2)

lri $AR1,    #0x13f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5107 (0x13f3)

lri $AR1,    #0x13f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5108 (0x13f4)

lri $AR1,    #0x13f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5109 (0x13f5)

lri $AR1,    #0x13f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5110 (0x13f6)

lri $AR1,    #0x13f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5111 (0x13f7)

lri $AR1,    #0x13f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5112 (0x13f8)

lri $AR1,    #0x13f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5113 (0x13f9)

lri $AR1,    #0x13f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5114 (0x13fa)

lri $AR1,    #0x13fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5115 (0x13fb)

lri $AR1,    #0x13fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5116 (0x13fc)

lri $AR1,    #0x13fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5117 (0x13fd)

lri $AR1,    #0x13fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5118 (0x13fe)

lri $AR1,    #0x13fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5119 (0x13ff)

lri $AR1,    #0x13ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 5120 (0x1400)

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

