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

lri $AR1,    #0x0040
lri $IX1,    #0xb852
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47187 (0xb853)

lri $AR1,    #0x0040
lri $IX1,    #0xb853
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47188 (0xb854)

lri $AR1,    #0x0040
lri $IX1,    #0xb854
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47189 (0xb855)

lri $AR1,    #0x0040
lri $IX1,    #0xb855
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47190 (0xb856)

lri $AR1,    #0x0040
lri $IX1,    #0xb856
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47191 (0xb857)

lri $AR1,    #0x0040
lri $IX1,    #0xb857
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47192 (0xb858)

lri $AR1,    #0x0040
lri $IX1,    #0xb858
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47193 (0xb859)

lri $AR1,    #0x0040
lri $IX1,    #0xb859
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47194 (0xb85a)

lri $AR1,    #0x0040
lri $IX1,    #0xb85a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47195 (0xb85b)

lri $AR1,    #0x0040
lri $IX1,    #0xb85b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47196 (0xb85c)

lri $AR1,    #0x0040
lri $IX1,    #0xb85c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47197 (0xb85d)

lri $AR1,    #0x0040
lri $IX1,    #0xb85d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47198 (0xb85e)

lri $AR1,    #0x0040
lri $IX1,    #0xb85e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47199 (0xb85f)

lri $AR1,    #0x0040
lri $IX1,    #0xb85f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47200 (0xb860)

lri $AR1,    #0x0040
lri $IX1,    #0xb860
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47201 (0xb861)

lri $AR1,    #0x0040
lri $IX1,    #0xb861
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47202 (0xb862)

lri $AR1,    #0x0040
lri $IX1,    #0xb862
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47203 (0xb863)

lri $AR1,    #0x0040
lri $IX1,    #0xb863
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47204 (0xb864)

lri $AR1,    #0x0040
lri $IX1,    #0xb864
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47205 (0xb865)

lri $AR1,    #0x0040
lri $IX1,    #0xb865
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47206 (0xb866)

lri $AR1,    #0x0040
lri $IX1,    #0xb866
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47207 (0xb867)

lri $AR1,    #0x0040
lri $IX1,    #0xb867
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47208 (0xb868)

lri $AR1,    #0x0040
lri $IX1,    #0xb868
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47209 (0xb869)

lri $AR1,    #0x0040
lri $IX1,    #0xb869
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47210 (0xb86a)

lri $AR1,    #0x0040
lri $IX1,    #0xb86a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47211 (0xb86b)

lri $AR1,    #0x0040
lri $IX1,    #0xb86b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47212 (0xb86c)

lri $AR1,    #0x0040
lri $IX1,    #0xb86c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47213 (0xb86d)

lri $AR1,    #0x0040
lri $IX1,    #0xb86d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47214 (0xb86e)

lri $AR1,    #0x0040
lri $IX1,    #0xb86e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47215 (0xb86f)

lri $AR1,    #0x0040
lri $IX1,    #0xb86f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47216 (0xb870)

lri $AR1,    #0x0040
lri $IX1,    #0xb870
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47217 (0xb871)

lri $AR1,    #0x0040
lri $IX1,    #0xb871
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47218 (0xb872)

lri $AR1,    #0x0040
lri $IX1,    #0xb872
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47219 (0xb873)

lri $AR1,    #0x0040
lri $IX1,    #0xb873
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47220 (0xb874)

lri $AR1,    #0x0040
lri $IX1,    #0xb874
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47221 (0xb875)

lri $AR1,    #0x0040
lri $IX1,    #0xb875
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47222 (0xb876)

lri $AR1,    #0x0040
lri $IX1,    #0xb876
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47223 (0xb877)

lri $AR1,    #0x0040
lri $IX1,    #0xb877
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47224 (0xb878)

lri $AR1,    #0x0040
lri $IX1,    #0xb878
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47225 (0xb879)

lri $AR1,    #0x0040
lri $IX1,    #0xb879
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47226 (0xb87a)

lri $AR1,    #0x0040
lri $IX1,    #0xb87a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47227 (0xb87b)

lri $AR1,    #0x0040
lri $IX1,    #0xb87b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47228 (0xb87c)

lri $AR1,    #0x0040
lri $IX1,    #0xb87c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47229 (0xb87d)

lri $AR1,    #0x0040
lri $IX1,    #0xb87d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47230 (0xb87e)

lri $AR1,    #0x0040
lri $IX1,    #0xb87e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47231 (0xb87f)

lri $AR1,    #0x0040
lri $IX1,    #0xb87f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47232 (0xb880)

lri $AR1,    #0x0040
lri $IX1,    #0xb880
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47233 (0xb881)

lri $AR1,    #0x0040
lri $IX1,    #0xb881
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47234 (0xb882)

lri $AR1,    #0x0040
lri $IX1,    #0xb882
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47235 (0xb883)

lri $AR1,    #0x0040
lri $IX1,    #0xb883
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47236 (0xb884)

lri $AR1,    #0x0040
lri $IX1,    #0xb884
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47237 (0xb885)

lri $AR1,    #0x0040
lri $IX1,    #0xb885
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47238 (0xb886)

lri $AR1,    #0x0040
lri $IX1,    #0xb886
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47239 (0xb887)

lri $AR1,    #0x0040
lri $IX1,    #0xb887
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47240 (0xb888)

lri $AR1,    #0x0040
lri $IX1,    #0xb888
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47241 (0xb889)

lri $AR1,    #0x0040
lri $IX1,    #0xb889
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47242 (0xb88a)

lri $AR1,    #0x0040
lri $IX1,    #0xb88a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47243 (0xb88b)

lri $AR1,    #0x0040
lri $IX1,    #0xb88b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47244 (0xb88c)

lri $AR1,    #0x0040
lri $IX1,    #0xb88c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47245 (0xb88d)

lri $AR1,    #0x0040
lri $IX1,    #0xb88d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47246 (0xb88e)

lri $AR1,    #0x0040
lri $IX1,    #0xb88e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47247 (0xb88f)

lri $AR1,    #0x0040
lri $IX1,    #0xb88f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47248 (0xb890)

lri $AR1,    #0x0040
lri $IX1,    #0xb890
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47249 (0xb891)

lri $AR1,    #0x0040
lri $IX1,    #0xb891
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47250 (0xb892)

lri $AR1,    #0x0040
lri $IX1,    #0xb892
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47251 (0xb893)

lri $AR1,    #0x0040
lri $IX1,    #0xb893
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47252 (0xb894)

lri $AR1,    #0x0040
lri $IX1,    #0xb894
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47253 (0xb895)

lri $AR1,    #0x0040
lri $IX1,    #0xb895
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47254 (0xb896)

lri $AR1,    #0x0040
lri $IX1,    #0xb896
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47255 (0xb897)

lri $AR1,    #0x0040
lri $IX1,    #0xb897
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47256 (0xb898)

lri $AR1,    #0x0040
lri $IX1,    #0xb898
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47257 (0xb899)

lri $AR1,    #0x0040
lri $IX1,    #0xb899
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47258 (0xb89a)

lri $AR1,    #0x0040
lri $IX1,    #0xb89a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47259 (0xb89b)

lri $AR1,    #0x0040
lri $IX1,    #0xb89b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47260 (0xb89c)

lri $AR1,    #0x0040
lri $IX1,    #0xb89c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47261 (0xb89d)

lri $AR1,    #0x0040
lri $IX1,    #0xb89d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47262 (0xb89e)

lri $AR1,    #0x0040
lri $IX1,    #0xb89e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47263 (0xb89f)

lri $AR1,    #0x0040
lri $IX1,    #0xb89f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47264 (0xb8a0)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47265 (0xb8a1)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47266 (0xb8a2)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47267 (0xb8a3)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47268 (0xb8a4)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47269 (0xb8a5)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47270 (0xb8a6)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47271 (0xb8a7)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47272 (0xb8a8)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47273 (0xb8a9)

lri $AR1,    #0x0040
lri $IX1,    #0xb8a9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47274 (0xb8aa)

lri $AR1,    #0x0040
lri $IX1,    #0xb8aa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47275 (0xb8ab)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47276 (0xb8ac)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47277 (0xb8ad)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47278 (0xb8ae)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47279 (0xb8af)

lri $AR1,    #0x0040
lri $IX1,    #0xb8af
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47280 (0xb8b0)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47281 (0xb8b1)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47282 (0xb8b2)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47283 (0xb8b3)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47284 (0xb8b4)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47285 (0xb8b5)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47286 (0xb8b6)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47287 (0xb8b7)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47288 (0xb8b8)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47289 (0xb8b9)

lri $AR1,    #0x0040
lri $IX1,    #0xb8b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47290 (0xb8ba)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47291 (0xb8bb)

lri $AR1,    #0x0040
lri $IX1,    #0xb8bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47292 (0xb8bc)

lri $AR1,    #0x0040
lri $IX1,    #0xb8bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47293 (0xb8bd)

lri $AR1,    #0x0040
lri $IX1,    #0xb8bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47294 (0xb8be)

lri $AR1,    #0x0040
lri $IX1,    #0xb8be
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47295 (0xb8bf)

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