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

lri $AR1,    #0x4000
lri $IX1,    #0xd800
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55297 (0xd801)

lri $AR1,    #0x4000
lri $IX1,    #0xd801
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55298 (0xd802)

lri $AR1,    #0x4000
lri $IX1,    #0xd802
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55299 (0xd803)

lri $AR1,    #0x4000
lri $IX1,    #0xd803
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55300 (0xd804)

lri $AR1,    #0x4000
lri $IX1,    #0xd804
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55301 (0xd805)

lri $AR1,    #0x4000
lri $IX1,    #0xd805
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55302 (0xd806)

lri $AR1,    #0x4000
lri $IX1,    #0xd806
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55303 (0xd807)

lri $AR1,    #0x4000
lri $IX1,    #0xd807
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55304 (0xd808)

lri $AR1,    #0x4000
lri $IX1,    #0xd808
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55305 (0xd809)

lri $AR1,    #0x4000
lri $IX1,    #0xd809
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55306 (0xd80a)

lri $AR1,    #0x4000
lri $IX1,    #0xd80a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55307 (0xd80b)

lri $AR1,    #0x4000
lri $IX1,    #0xd80b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55308 (0xd80c)

lri $AR1,    #0x4000
lri $IX1,    #0xd80c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55309 (0xd80d)

lri $AR1,    #0x4000
lri $IX1,    #0xd80d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55310 (0xd80e)

lri $AR1,    #0x4000
lri $IX1,    #0xd80e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55311 (0xd80f)

lri $AR1,    #0x4000
lri $IX1,    #0xd80f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55312 (0xd810)

lri $AR1,    #0x4000
lri $IX1,    #0xd810
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55313 (0xd811)

lri $AR1,    #0x4000
lri $IX1,    #0xd811
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55314 (0xd812)

lri $AR1,    #0x4000
lri $IX1,    #0xd812
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55315 (0xd813)

lri $AR1,    #0x4000
lri $IX1,    #0xd813
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55316 (0xd814)

lri $AR1,    #0x4000
lri $IX1,    #0xd814
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55317 (0xd815)

lri $AR1,    #0x4000
lri $IX1,    #0xd815
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55318 (0xd816)

lri $AR1,    #0x4000
lri $IX1,    #0xd816
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55319 (0xd817)

lri $AR1,    #0x4000
lri $IX1,    #0xd817
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55320 (0xd818)

lri $AR1,    #0x4000
lri $IX1,    #0xd818
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55321 (0xd819)

lri $AR1,    #0x4000
lri $IX1,    #0xd819
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55322 (0xd81a)

lri $AR1,    #0x4000
lri $IX1,    #0xd81a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55323 (0xd81b)

lri $AR1,    #0x4000
lri $IX1,    #0xd81b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55324 (0xd81c)

lri $AR1,    #0x4000
lri $IX1,    #0xd81c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55325 (0xd81d)

lri $AR1,    #0x4000
lri $IX1,    #0xd81d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55326 (0xd81e)

lri $AR1,    #0x4000
lri $IX1,    #0xd81e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55327 (0xd81f)

lri $AR1,    #0x4000
lri $IX1,    #0xd81f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55328 (0xd820)

lri $AR1,    #0x4000
lri $IX1,    #0xd820
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55329 (0xd821)

lri $AR1,    #0x4000
lri $IX1,    #0xd821
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55330 (0xd822)

lri $AR1,    #0x4000
lri $IX1,    #0xd822
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55331 (0xd823)

lri $AR1,    #0x4000
lri $IX1,    #0xd823
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55332 (0xd824)

lri $AR1,    #0x4000
lri $IX1,    #0xd824
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55333 (0xd825)

lri $AR1,    #0x4000
lri $IX1,    #0xd825
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55334 (0xd826)

lri $AR1,    #0x4000
lri $IX1,    #0xd826
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55335 (0xd827)

lri $AR1,    #0x4000
lri $IX1,    #0xd827
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55336 (0xd828)

lri $AR1,    #0x4000
lri $IX1,    #0xd828
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55337 (0xd829)

lri $AR1,    #0x4000
lri $IX1,    #0xd829
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55338 (0xd82a)

lri $AR1,    #0x4000
lri $IX1,    #0xd82a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55339 (0xd82b)

lri $AR1,    #0x4000
lri $IX1,    #0xd82b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55340 (0xd82c)

lri $AR1,    #0x4000
lri $IX1,    #0xd82c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55341 (0xd82d)

lri $AR1,    #0x4000
lri $IX1,    #0xd82d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55342 (0xd82e)

lri $AR1,    #0x4000
lri $IX1,    #0xd82e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55343 (0xd82f)

lri $AR1,    #0x4000
lri $IX1,    #0xd82f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55344 (0xd830)

lri $AR1,    #0x4000
lri $IX1,    #0xd830
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55345 (0xd831)

lri $AR1,    #0x4000
lri $IX1,    #0xd831
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55346 (0xd832)

lri $AR1,    #0x4000
lri $IX1,    #0xd832
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55347 (0xd833)

lri $AR1,    #0x4000
lri $IX1,    #0xd833
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55348 (0xd834)

lri $AR1,    #0x4000
lri $IX1,    #0xd834
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55349 (0xd835)

lri $AR1,    #0x4000
lri $IX1,    #0xd835
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55350 (0xd836)

lri $AR1,    #0x4000
lri $IX1,    #0xd836
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55351 (0xd837)

lri $AR1,    #0x4000
lri $IX1,    #0xd837
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55352 (0xd838)

lri $AR1,    #0x4000
lri $IX1,    #0xd838
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55353 (0xd839)

lri $AR1,    #0x4000
lri $IX1,    #0xd839
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55354 (0xd83a)

lri $AR1,    #0x4000
lri $IX1,    #0xd83a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55355 (0xd83b)

lri $AR1,    #0x4000
lri $IX1,    #0xd83b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55356 (0xd83c)

lri $AR1,    #0x4000
lri $IX1,    #0xd83c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55357 (0xd83d)

lri $AR1,    #0x4000
lri $IX1,    #0xd83d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55358 (0xd83e)

lri $AR1,    #0x4000
lri $IX1,    #0xd83e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55359 (0xd83f)

lri $AR1,    #0x4000
lri $IX1,    #0xd83f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55360 (0xd840)

lri $AR1,    #0x4000
lri $IX1,    #0xd840
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55361 (0xd841)

lri $AR1,    #0x4000
lri $IX1,    #0xd841
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55362 (0xd842)

lri $AR1,    #0x4000
lri $IX1,    #0xd842
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55363 (0xd843)

lri $AR1,    #0x4000
lri $IX1,    #0xd843
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55364 (0xd844)

lri $AR1,    #0x4000
lri $IX1,    #0xd844
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55365 (0xd845)

lri $AR1,    #0x4000
lri $IX1,    #0xd845
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55366 (0xd846)

lri $AR1,    #0x4000
lri $IX1,    #0xd846
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55367 (0xd847)

lri $AR1,    #0x4000
lri $IX1,    #0xd847
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55368 (0xd848)

lri $AR1,    #0x4000
lri $IX1,    #0xd848
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55369 (0xd849)

lri $AR1,    #0x4000
lri $IX1,    #0xd849
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55370 (0xd84a)

lri $AR1,    #0x4000
lri $IX1,    #0xd84a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55371 (0xd84b)

lri $AR1,    #0x4000
lri $IX1,    #0xd84b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55372 (0xd84c)

lri $AR1,    #0x4000
lri $IX1,    #0xd84c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55373 (0xd84d)

lri $AR1,    #0x4000
lri $IX1,    #0xd84d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55374 (0xd84e)

lri $AR1,    #0x4000
lri $IX1,    #0xd84e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55375 (0xd84f)

lri $AR1,    #0x4000
lri $IX1,    #0xd84f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55376 (0xd850)

lri $AR1,    #0x4000
lri $IX1,    #0xd850
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55377 (0xd851)

lri $AR1,    #0x4000
lri $IX1,    #0xd851
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55378 (0xd852)

lri $AR1,    #0x4000
lri $IX1,    #0xd852
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55379 (0xd853)

lri $AR1,    #0x4000
lri $IX1,    #0xd853
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55380 (0xd854)

lri $AR1,    #0x4000
lri $IX1,    #0xd854
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55381 (0xd855)

lri $AR1,    #0x4000
lri $IX1,    #0xd855
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55382 (0xd856)

lri $AR1,    #0x4000
lri $IX1,    #0xd856
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55383 (0xd857)

lri $AR1,    #0x4000
lri $IX1,    #0xd857
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55384 (0xd858)

lri $AR1,    #0x4000
lri $IX1,    #0xd858
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55385 (0xd859)

lri $AR1,    #0x4000
lri $IX1,    #0xd859
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55386 (0xd85a)

lri $AR1,    #0x4000
lri $IX1,    #0xd85a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55387 (0xd85b)

lri $AR1,    #0x4000
lri $IX1,    #0xd85b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55388 (0xd85c)

lri $AR1,    #0x4000
lri $IX1,    #0xd85c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55389 (0xd85d)

lri $AR1,    #0x4000
lri $IX1,    #0xd85d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55390 (0xd85e)

lri $AR1,    #0x4000
lri $IX1,    #0xd85e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55391 (0xd85f)

lri $AR1,    #0x4000
lri $IX1,    #0xd85f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55392 (0xd860)

lri $AR1,    #0x4000
lri $IX1,    #0xd860
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55393 (0xd861)

lri $AR1,    #0x4000
lri $IX1,    #0xd861
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55394 (0xd862)

lri $AR1,    #0x4000
lri $IX1,    #0xd862
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55395 (0xd863)

lri $AR1,    #0x4000
lri $IX1,    #0xd863
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55396 (0xd864)

lri $AR1,    #0x4000
lri $IX1,    #0xd864
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55397 (0xd865)

lri $AR1,    #0x4000
lri $IX1,    #0xd865
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55398 (0xd866)

lri $AR1,    #0x4000
lri $IX1,    #0xd866
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55399 (0xd867)

lri $AR1,    #0x4000
lri $IX1,    #0xd867
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55400 (0xd868)

lri $AR1,    #0x4000
lri $IX1,    #0xd868
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55401 (0xd869)

lri $AR1,    #0x4000
lri $IX1,    #0xd869
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55402 (0xd86a)

lri $AR1,    #0x4000
lri $IX1,    #0xd86a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55403 (0xd86b)

lri $AR1,    #0x4000
lri $IX1,    #0xd86b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55404 (0xd86c)

lri $AR1,    #0x4000
lri $IX1,    #0xd86c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55405 (0xd86d)

lri $AR1,    #0x4000
lri $IX1,    #0xd86d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55406 (0xd86e)

lri $AR1,    #0x4000
lri $IX1,    #0xd86e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55407 (0xd86f)

lri $AR1,    #0x4000
lri $IX1,    #0xd86f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55408 (0xd870)

lri $AR1,    #0x4000
lri $IX1,    #0xd870
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55409 (0xd871)

lri $AR1,    #0x4000
lri $IX1,    #0xd871
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55410 (0xd872)

lri $AR1,    #0x4000
lri $IX1,    #0xd872
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55411 (0xd873)

lri $AR1,    #0x4000
lri $IX1,    #0xd873
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55412 (0xd874)

lri $AR1,    #0x4000
lri $IX1,    #0xd874
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55413 (0xd875)

lri $AR1,    #0x4000
lri $IX1,    #0xd875
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55414 (0xd876)

lri $AR1,    #0x4000
lri $IX1,    #0xd876
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55415 (0xd877)

lri $AR1,    #0x4000
lri $IX1,    #0xd877
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55416 (0xd878)

lri $AR1,    #0x4000
lri $IX1,    #0xd878
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55417 (0xd879)

lri $AR1,    #0x4000
lri $IX1,    #0xd879
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55418 (0xd87a)

lri $AR1,    #0x4000
lri $IX1,    #0xd87a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55419 (0xd87b)

lri $AR1,    #0x4000
lri $IX1,    #0xd87b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55420 (0xd87c)

lri $AR1,    #0x4000
lri $IX1,    #0xd87c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55421 (0xd87d)

lri $AR1,    #0x4000
lri $IX1,    #0xd87d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55422 (0xd87e)

lri $AR1,    #0x4000
lri $IX1,    #0xd87e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55423 (0xd87f)

lri $AR1,    #0x4000
lri $IX1,    #0xd87f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55424 (0xd880)

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

