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

lri $AR1,    #0x4000
lri $IX1,    #0xc380
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50049 (0xc381)

lri $AR1,    #0x4000
lri $IX1,    #0xc381
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50050 (0xc382)

lri $AR1,    #0x4000
lri $IX1,    #0xc382
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50051 (0xc383)

lri $AR1,    #0x4000
lri $IX1,    #0xc383
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50052 (0xc384)

lri $AR1,    #0x4000
lri $IX1,    #0xc384
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50053 (0xc385)

lri $AR1,    #0x4000
lri $IX1,    #0xc385
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50054 (0xc386)

lri $AR1,    #0x4000
lri $IX1,    #0xc386
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50055 (0xc387)

lri $AR1,    #0x4000
lri $IX1,    #0xc387
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50056 (0xc388)

lri $AR1,    #0x4000
lri $IX1,    #0xc388
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50057 (0xc389)

lri $AR1,    #0x4000
lri $IX1,    #0xc389
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50058 (0xc38a)

lri $AR1,    #0x4000
lri $IX1,    #0xc38a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50059 (0xc38b)

lri $AR1,    #0x4000
lri $IX1,    #0xc38b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50060 (0xc38c)

lri $AR1,    #0x4000
lri $IX1,    #0xc38c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50061 (0xc38d)

lri $AR1,    #0x4000
lri $IX1,    #0xc38d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50062 (0xc38e)

lri $AR1,    #0x4000
lri $IX1,    #0xc38e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50063 (0xc38f)

lri $AR1,    #0x4000
lri $IX1,    #0xc38f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50064 (0xc390)

lri $AR1,    #0x4000
lri $IX1,    #0xc390
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50065 (0xc391)

lri $AR1,    #0x4000
lri $IX1,    #0xc391
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50066 (0xc392)

lri $AR1,    #0x4000
lri $IX1,    #0xc392
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50067 (0xc393)

lri $AR1,    #0x4000
lri $IX1,    #0xc393
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50068 (0xc394)

lri $AR1,    #0x4000
lri $IX1,    #0xc394
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50069 (0xc395)

lri $AR1,    #0x4000
lri $IX1,    #0xc395
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50070 (0xc396)

lri $AR1,    #0x4000
lri $IX1,    #0xc396
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50071 (0xc397)

lri $AR1,    #0x4000
lri $IX1,    #0xc397
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50072 (0xc398)

lri $AR1,    #0x4000
lri $IX1,    #0xc398
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50073 (0xc399)

lri $AR1,    #0x4000
lri $IX1,    #0xc399
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50074 (0xc39a)

lri $AR1,    #0x4000
lri $IX1,    #0xc39a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50075 (0xc39b)

lri $AR1,    #0x4000
lri $IX1,    #0xc39b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50076 (0xc39c)

lri $AR1,    #0x4000
lri $IX1,    #0xc39c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50077 (0xc39d)

lri $AR1,    #0x4000
lri $IX1,    #0xc39d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50078 (0xc39e)

lri $AR1,    #0x4000
lri $IX1,    #0xc39e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50079 (0xc39f)

lri $AR1,    #0x4000
lri $IX1,    #0xc39f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50080 (0xc3a0)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50081 (0xc3a1)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50082 (0xc3a2)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50083 (0xc3a3)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50084 (0xc3a4)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50085 (0xc3a5)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50086 (0xc3a6)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50087 (0xc3a7)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50088 (0xc3a8)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50089 (0xc3a9)

lri $AR1,    #0x4000
lri $IX1,    #0xc3a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50090 (0xc3aa)

lri $AR1,    #0x4000
lri $IX1,    #0xc3aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50091 (0xc3ab)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50092 (0xc3ac)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50093 (0xc3ad)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50094 (0xc3ae)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50095 (0xc3af)

lri $AR1,    #0x4000
lri $IX1,    #0xc3af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50096 (0xc3b0)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50097 (0xc3b1)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50098 (0xc3b2)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50099 (0xc3b3)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50100 (0xc3b4)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50101 (0xc3b5)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50102 (0xc3b6)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50103 (0xc3b7)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50104 (0xc3b8)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50105 (0xc3b9)

lri $AR1,    #0x4000
lri $IX1,    #0xc3b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50106 (0xc3ba)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50107 (0xc3bb)

lri $AR1,    #0x4000
lri $IX1,    #0xc3bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50108 (0xc3bc)

lri $AR1,    #0x4000
lri $IX1,    #0xc3bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50109 (0xc3bd)

lri $AR1,    #0x4000
lri $IX1,    #0xc3bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50110 (0xc3be)

lri $AR1,    #0x4000
lri $IX1,    #0xc3be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50111 (0xc3bf)

lri $AR1,    #0x4000
lri $IX1,    #0xc3bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50112 (0xc3c0)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50113 (0xc3c1)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50114 (0xc3c2)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50115 (0xc3c3)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50116 (0xc3c4)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50117 (0xc3c5)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50118 (0xc3c6)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50119 (0xc3c7)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50120 (0xc3c8)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50121 (0xc3c9)

lri $AR1,    #0x4000
lri $IX1,    #0xc3c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50122 (0xc3ca)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50123 (0xc3cb)

lri $AR1,    #0x4000
lri $IX1,    #0xc3cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50124 (0xc3cc)

lri $AR1,    #0x4000
lri $IX1,    #0xc3cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50125 (0xc3cd)

lri $AR1,    #0x4000
lri $IX1,    #0xc3cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50126 (0xc3ce)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50127 (0xc3cf)

lri $AR1,    #0x4000
lri $IX1,    #0xc3cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50128 (0xc3d0)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50129 (0xc3d1)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50130 (0xc3d2)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50131 (0xc3d3)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50132 (0xc3d4)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50133 (0xc3d5)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50134 (0xc3d6)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50135 (0xc3d7)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50136 (0xc3d8)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50137 (0xc3d9)

lri $AR1,    #0x4000
lri $IX1,    #0xc3d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50138 (0xc3da)

lri $AR1,    #0x4000
lri $IX1,    #0xc3da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50139 (0xc3db)

lri $AR1,    #0x4000
lri $IX1,    #0xc3db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50140 (0xc3dc)

lri $AR1,    #0x4000
lri $IX1,    #0xc3dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50141 (0xc3dd)

lri $AR1,    #0x4000
lri $IX1,    #0xc3dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50142 (0xc3de)

lri $AR1,    #0x4000
lri $IX1,    #0xc3de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50143 (0xc3df)

lri $AR1,    #0x4000
lri $IX1,    #0xc3df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50144 (0xc3e0)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50145 (0xc3e1)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50146 (0xc3e2)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50147 (0xc3e3)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50148 (0xc3e4)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50149 (0xc3e5)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50150 (0xc3e6)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50151 (0xc3e7)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50152 (0xc3e8)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50153 (0xc3e9)

lri $AR1,    #0x4000
lri $IX1,    #0xc3e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50154 (0xc3ea)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50155 (0xc3eb)

lri $AR1,    #0x4000
lri $IX1,    #0xc3eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50156 (0xc3ec)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50157 (0xc3ed)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50158 (0xc3ee)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50159 (0xc3ef)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50160 (0xc3f0)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50161 (0xc3f1)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50162 (0xc3f2)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50163 (0xc3f3)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50164 (0xc3f4)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50165 (0xc3f5)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50166 (0xc3f6)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50167 (0xc3f7)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50168 (0xc3f8)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50169 (0xc3f9)

lri $AR1,    #0x4000
lri $IX1,    #0xc3f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50170 (0xc3fa)

lri $AR1,    #0x4000
lri $IX1,    #0xc3fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50171 (0xc3fb)

lri $AR1,    #0x4000
lri $IX1,    #0xc3fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50172 (0xc3fc)

lri $AR1,    #0x4000
lri $IX1,    #0xc3fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50173 (0xc3fd)

lri $AR1,    #0x4000
lri $IX1,    #0xc3fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50174 (0xc3fe)

lri $AR1,    #0x4000
lri $IX1,    #0xc3fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50175 (0xc3ff)

lri $AR1,    #0x4000
lri $IX1,    #0xc3ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50176 (0xc400)

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

