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

lri $AR1,    #0xadbd
lri $IX1,    #0xd050
lri $WR1,    #0xa727
cw 0x15
call send_back  ; 57345 (0xe001)

lri $AR1,    #0x7d0f
lri $IX1,    #0x8294
lri $WR1,    #0x3197
cw 0x15
call send_back  ; 57346 (0xe002)

lri $AR1,    #0x31c8
lri $IX1,    #0x5696
lri $WR1,    #0x9d9a
cw 0x15
call send_back  ; 57347 (0xe003)

lri $AR1,    #0x5ddc
lri $IX1,    #0x7444
lri $WR1,    #0x495c
cw 0x15
call send_back  ; 57348 (0xe004)

lri $AR1,    #0x5557
lri $IX1,    #0xbef0
lri $WR1,    #0x5be6
cw 0x15
call send_back  ; 57349 (0xe005)

lri $AR1,    #0xd132
lri $IX1,    #0x4f88
lri $WR1,    #0x3842
cw 0x15
call send_back  ; 57350 (0xe006)

lri $AR1,    #0x8579
lri $IX1,    #0x547c
lri $WR1,    #0x6db4
cw 0x15
call send_back  ; 57351 (0xe007)

lri $AR1,    #0xce2e
lri $IX1,    #0x798c
lri $WR1,    #0xab9a
cw 0x15
call send_back  ; 57352 (0xe008)

lri $AR1,    #0x819b
lri $IX1,    #0xb222
lri $WR1,    #0x6904
cw 0x15
call send_back  ; 57353 (0xe009)

lri $AR1,    #0x967f
lri $IX1,    #0xa56e
lri $WR1,    #0x9d90
cw 0x15
call send_back  ; 57354 (0xe00a)

lri $AR1,    #0x7fcc
lri $IX1,    #0x2c04
lri $WR1,    #0x7a9b
cw 0x15
call send_back  ; 57355 (0xe00b)

lri $AR1,    #0x4766
lri $IX1,    #0x6afc
lri $WR1,    #0x6958
cw 0x15
call send_back  ; 57356 (0xe00c)

lri $AR1,    #0x6c87
lri $IX1,    #0x4184
lri $WR1,    #0x8be5
cw 0x15
call send_back  ; 57357 (0xe00d)

lri $AR1,    #0x3a48
lri $IX1,    #0x11e4
lri $WR1,    #0x7cd4
cw 0x15
call send_back  ; 57358 (0xe00e)

lri $AR1,    #0x8dfa
lri $IX1,    #0x8fb2
lri $WR1,    #0x6a60
cw 0x15
call send_back  ; 57359 (0xe00f)

lri $AR1,    #0xbcb1
lri $IX1,    #0x4972
lri $WR1,    #0xcfb8
cw 0x15
call send_back  ; 57360 (0xe010)

lri $AR1,    #0xd2cf
lri $IX1,    #0x3c44
lri $WR1,    #0xd885
cw 0x15
call send_back  ; 57361 (0xe011)

lri $AR1,    #0x27da
lri $IX1,    #0x04ca
lri $WR1,    #0xc839
cw 0x15
call send_back  ; 57362 (0xe012)

lri $AR1,    #0x9472
lri $IX1,    #0x5112
lri $WR1,    #0x702d
cw 0x15
call send_back  ; 57363 (0xe013)

lri $AR1,    #0x5fb5
lri $IX1,    #0x3396
lri $WR1,    #0x352f
cw 0x15
call send_back  ; 57364 (0xe014)

lri $AR1,    #0x94de
lri $IX1,    #0x0010
lri $WR1,    #0xbe7b
cw 0x15
call send_back  ; 57365 (0xe015)

lri $AR1,    #0xc174
lri $IX1,    #0x8f4c
lri $WR1,    #0x85c1
cw 0x15
call send_back  ; 57366 (0xe016)

lri $AR1,    #0x7fdd
lri $IX1,    #0x47be
lri $WR1,    #0x8143
cw 0x15
call send_back  ; 57367 (0xe017)

lri $AR1,    #0x8992
lri $IX1,    #0x34da
lri $WR1,    #0x668d
cw 0x15
call send_back  ; 57368 (0xe018)

lri $AR1,    #0x37d9
lri $IX1,    #0xf024
lri $WR1,    #0x6df3
cw 0x15
call send_back  ; 57369 (0xe019)

lri $AR1,    #0xb953
lri $IX1,    #0x42e2
lri $WR1,    #0xec4a
cw 0x15
call send_back  ; 57370 (0xe01a)

lri $AR1,    #0xb61c
lri $IX1,    #0x5850
lri $WR1,    #0x69fb
cw 0x15
call send_back  ; 57371 (0xe01b)

lri $AR1,    #0x83dc
lri $IX1,    #0x3474
lri $WR1,    #0x73f9
cw 0x15
call send_back  ; 57372 (0xe01c)

lri $AR1,    #0xc69d
lri $IX1,    #0x0c42
lri $WR1,    #0x9cb3
cw 0x15
call send_back  ; 57373 (0xe01d)

lri $AR1,    #0x4aa9
lri $IX1,    #0x3044
lri $WR1,    #0xe086
cw 0x15
call send_back  ; 57374 (0xe01e)

lri $AR1,    #0xe746
lri $IX1,    #0x9b6e
lri $WR1,    #0x42c7
cw 0x15
call send_back  ; 57375 (0xe01f)

lri $AR1,    #0x31a2
lri $IX1,    #0x0462
lri $WR1,    #0x5df2
cw 0x15
call send_back  ; 57376 (0xe020)

lri $AR1,    #0x92bd
lri $IX1,    #0xa7b2
lri $WR1,    #0xab18
cw 0x15
call send_back  ; 57377 (0xe021)

lri $AR1,    #0x529e
lri $IX1,    #0x0676
lri $WR1,    #0xd1ff
cw 0x15
call send_back  ; 57378 (0xe022)

lri $AR1,    #0x3eab
lri $IX1,    #0xa4c8
lri $WR1,    #0x452e
cw 0x15
call send_back  ; 57379 (0xe023)

lri $AR1,    #0x186b
lri $IX1,    #0x906e
lri $WR1,    #0x2251
cw 0x15
call send_back  ; 57380 (0xe024)

lri $AR1,    #0x5587
lri $IX1,    #0x4048
lri $WR1,    #0xa917
cw 0x15
call send_back  ; 57381 (0xe025)

lri $AR1,    #0x4956
lri $IX1,    #0x51c4
lri $WR1,    #0xf81b
cw 0x15
call send_back  ; 57382 (0xe026)

lri $AR1,    #0x73d5
lri $IX1,    #0xea14
lri $WR1,    #0x80d4
cw 0x15
call send_back  ; 57383 (0xe027)

lri $AR1,    #0xc935
lri $IX1,    #0x2d28
lri $WR1,    #0x2943
cw 0x15
call send_back  ; 57384 (0xe028)

lri $AR1,    #0x30fc
lri $IX1,    #0x755a
lri $WR1,    #0xbb3f
cw 0x15
call send_back  ; 57385 (0xe029)

lri $AR1,    #0x9aeb
lri $IX1,    #0xdac4
lri $WR1,    #0xef12
cw 0x15
call send_back  ; 57386 (0xe02a)

lri $AR1,    #0x3b82
lri $IX1,    #0x4a0c
lri $WR1,    #0x7071
cw 0x15
call send_back  ; 57387 (0xe02b)

lri $AR1,    #0xa976
lri $IX1,    #0x06e8
lri $WR1,    #0x9251
cw 0x15
call send_back  ; 57388 (0xe02c)

lri $AR1,    #0x90dc
lri $IX1,    #0x1ece
lri $WR1,    #0x5fb2
cw 0x15
call send_back  ; 57389 (0xe02d)

lri $AR1,    #0x6070
lri $IX1,    #0x254e
lri $WR1,    #0xb4f9
cw 0x15
call send_back  ; 57390 (0xe02e)

lri $AR1,    #0x98ad
lri $IX1,    #0xb37a
lri $WR1,    #0x6ed7
cw 0x15
call send_back  ; 57391 (0xe02f)

lri $AR1,    #0x9c1b
lri $IX1,    #0xb0cc
lri $WR1,    #0x6159
cw 0x15
call send_back  ; 57392 (0xe030)

lri $AR1,    #0x6b98
lri $IX1,    #0x840c
lri $WR1,    #0x932f
cw 0x15
call send_back  ; 57393 (0xe031)

lri $AR1,    #0x78ed
lri $IX1,    #0x0f88
lri $WR1,    #0x86bc
cw 0x15
call send_back  ; 57394 (0xe032)

lri $AR1,    #0x8d84
lri $IX1,    #0xec28
lri $WR1,    #0x8bee
cw 0x15
call send_back  ; 57395 (0xe033)

lri $AR1,    #0x8a8d
lri $IX1,    #0xd3bc
lri $WR1,    #0x8b92
cw 0x15
call send_back  ; 57396 (0xe034)

lri $AR1,    #0x6360
lri $IX1,    #0xb306
lri $WR1,    #0x560d
cw 0x15
call send_back  ; 57397 (0xe035)

lri $AR1,    #0x8265
lri $IX1,    #0x90de
lri $WR1,    #0x9d1c
cw 0x15
call send_back  ; 57398 (0xe036)

lri $AR1,    #0xac70
lri $IX1,    #0x77f0
lri $WR1,    #0xc1b8
cw 0x15
call send_back  ; 57399 (0xe037)

lri $AR1,    #0xcda9
lri $IX1,    #0xfd68
lri $WR1,    #0x648d
cw 0x15
call send_back  ; 57400 (0xe038)

lri $AR1,    #0xc714
lri $IX1,    #0xf736
lri $WR1,    #0x9135
cw 0x15
call send_back  ; 57401 (0xe039)

lri $AR1,    #0xb2d4
lri $IX1,    #0x9904
lri $WR1,    #0x49b6
cw 0x15
call send_back  ; 57402 (0xe03a)

lri $AR1,    #0x8910
lri $IX1,    #0x9fac
lri $WR1,    #0x894f
cw 0x15
call send_back  ; 57403 (0xe03b)

lri $AR1,    #0xf6c4
lri $IX1,    #0x8f4a
lri $WR1,    #0x6b30
cw 0x15
call send_back  ; 57404 (0xe03c)

lri $AR1,    #0x7353
lri $IX1,    #0x709c
lri $WR1,    #0x5b32
cw 0x15
call send_back  ; 57405 (0xe03d)

lri $AR1,    #0x912b
lri $IX1,    #0x0ef4
lri $WR1,    #0x73fe
cw 0x15
call send_back  ; 57406 (0xe03e)

lri $AR1,    #0x893f
lri $IX1,    #0x9844
lri $WR1,    #0xcfe1
cw 0x15
call send_back  ; 57407 (0xe03f)

lri $AR1,    #0x78ad
lri $IX1,    #0xcd9e
lri $WR1,    #0x76ba
cw 0x15
call send_back  ; 57408 (0xe040)

lri $AR1,    #0x1371
lri $IX1,    #0xcac4
lri $WR1,    #0x1d1b
cw 0x15
call send_back  ; 57409 (0xe041)

lri $AR1,    #0x8e55
lri $IX1,    #0xeff2
lri $WR1,    #0x763d
cw 0x15
call send_back  ; 57410 (0xe042)

lri $AR1,    #0x960b
lri $IX1,    #0xc9a4
lri $WR1,    #0x4bbc
cw 0x15
call send_back  ; 57411 (0xe043)

lri $AR1,    #0x30ab
lri $IX1,    #0x0e6e
lri $WR1,    #0x43c3
cw 0x15
call send_back  ; 57412 (0xe044)

lri $AR1,    #0xc27a
lri $IX1,    #0x13be
lri $WR1,    #0x97aa
cw 0x15
call send_back  ; 57413 (0xe045)

lri $AR1,    #0x7e34
lri $IX1,    #0x8e8c
lri $WR1,    #0x5a98
cw 0x15
call send_back  ; 57414 (0xe046)

lri $AR1,    #0xacbd
lri $IX1,    #0x35c2
lri $WR1,    #0xb13e
cw 0x15
call send_back  ; 57415 (0xe047)

lri $AR1,    #0x4f7c
lri $IX1,    #0x088a
lri $WR1,    #0x613b
cw 0x15
call send_back  ; 57416 (0xe048)

lri $AR1,    #0x0c31
lri $IX1,    #0xb326
lri $WR1,    #0x482a
cw 0x15
call send_back  ; 57417 (0xe049)

lri $AR1,    #0x70a1
lri $IX1,    #0xf194
lri $WR1,    #0x7809
cw 0x15
call send_back  ; 57418 (0xe04a)

lri $AR1,    #0x4fd5
lri $IX1,    #0xff9e
lri $WR1,    #0x47e2
cw 0x15
call send_back  ; 57419 (0xe04b)

lri $AR1,    #0xa256
lri $IX1,    #0x4288
lri $WR1,    #0x7d67
cw 0x15
call send_back  ; 57420 (0xe04c)

lri $AR1,    #0x4e13
lri $IX1,    #0x811a
lri $WR1,    #0x2d81
cw 0x15
call send_back  ; 57421 (0xe04d)

lri $AR1,    #0x6a6e
lri $IX1,    #0x5326
lri $WR1,    #0xef64
cw 0x15
call send_back  ; 57422 (0xe04e)

lri $AR1,    #0x580c
lri $IX1,    #0x123a
lri $WR1,    #0x5f37
cw 0x15
call send_back  ; 57423 (0xe04f)

lri $AR1,    #0xbbe7
lri $IX1,    #0xa1ca
lri $WR1,    #0x92e7
cw 0x15
call send_back  ; 57424 (0xe050)

lri $AR1,    #0x7856
lri $IX1,    #0xfd48
lri $WR1,    #0x6d2c
cw 0x15
call send_back  ; 57425 (0xe051)

lri $AR1,    #0x7e68
lri $IX1,    #0xbfa4
lri $WR1,    #0x8854
cw 0x15
call send_back  ; 57426 (0xe052)

lri $AR1,    #0x2551
lri $IX1,    #0xe7a8
lri $WR1,    #0xa3e9
cw 0x15
call send_back  ; 57427 (0xe053)

lri $AR1,    #0x7d55
lri $IX1,    #0x1974
lri $WR1,    #0xf5b4
cw 0x15
call send_back  ; 57428 (0xe054)

lri $AR1,    #0xaee4
lri $IX1,    #0xa5de
lri $WR1,    #0x583f
cw 0x15
call send_back  ; 57429 (0xe055)

lri $AR1,    #0x464f
lri $IX1,    #0xd4be
lri $WR1,    #0xee5c
cw 0x15
call send_back  ; 57430 (0xe056)

lri $AR1,    #0xafcd
lri $IX1,    #0x6ffa
lri $WR1,    #0x54b6
cw 0x15
call send_back  ; 57431 (0xe057)

lri $AR1,    #0x7f3e
lri $IX1,    #0x797c
lri $WR1,    #0x401b
cw 0x15
call send_back  ; 57432 (0xe058)

lri $AR1,    #0xca63
lri $IX1,    #0x6e98
lri $WR1,    #0xd06a
cw 0x15
call send_back  ; 57433 (0xe059)

lri $AR1,    #0xbbde
lri $IX1,    #0xa062
lri $WR1,    #0x4dd8
cw 0x15
call send_back  ; 57434 (0xe05a)

lri $AR1,    #0x78e0
lri $IX1,    #0x1852
lri $WR1,    #0xd77b
cw 0x15
call send_back  ; 57435 (0xe05b)

lri $AR1,    #0x5abb
lri $IX1,    #0x5d94
lri $WR1,    #0x9fc4
cw 0x15
call send_back  ; 57436 (0xe05c)

lri $AR1,    #0xb92d
lri $IX1,    #0x57b8
lri $WR1,    #0x8cf0
cw 0x15
call send_back  ; 57437 (0xe05d)

lri $AR1,    #0xf1c7
lri $IX1,    #0x9fd2
lri $WR1,    #0xd0fb
cw 0x15
call send_back  ; 57438 (0xe05e)

lri $AR1,    #0x5c23
lri $IX1,    #0xf1d0
lri $WR1,    #0xae26
cw 0x15
call send_back  ; 57439 (0xe05f)

lri $AR1,    #0xd257
lri $IX1,    #0x3c3e
lri $WR1,    #0x82af
cw 0x15
call send_back  ; 57440 (0xe060)

lri $AR1,    #0x4058
lri $IX1,    #0x2506
lri $WR1,    #0x3fb0
cw 0x15
call send_back  ; 57441 (0xe061)

lri $AR1,    #0xacb3
lri $IX1,    #0xde8c
lri $WR1,    #0x7cd0
cw 0x15
call send_back  ; 57442 (0xe062)

lri $AR1,    #0x4065
lri $IX1,    #0xf8a6
lri $WR1,    #0xcbc3
cw 0x15
call send_back  ; 57443 (0xe063)

lri $AR1,    #0xdb1a
lri $IX1,    #0x95c2
lri $WR1,    #0xa433
cw 0x15
call send_back  ; 57444 (0xe064)

lri $AR1,    #0x1cb0
lri $IX1,    #0x34d6
lri $WR1,    #0x9a1e
cw 0x15
call send_back  ; 57445 (0xe065)

lri $AR1,    #0x5c48
lri $IX1,    #0x3560
lri $WR1,    #0xee3b
cw 0x15
call send_back  ; 57446 (0xe066)

lri $AR1,    #0xa8b0
lri $IX1,    #0x7b0a
lri $WR1,    #0x4972
cw 0x15
call send_back  ; 57447 (0xe067)

lri $AR1,    #0x8581
lri $IX1,    #0x432e
lri $WR1,    #0x79ff
cw 0x15
call send_back  ; 57448 (0xe068)

lri $AR1,    #0x83b9
lri $IX1,    #0x7700
lri $WR1,    #0x3247
cw 0x15
call send_back  ; 57449 (0xe069)

lri $AR1,    #0x741c
lri $IX1,    #0xa960
lri $WR1,    #0x76f5
cw 0x15
call send_back  ; 57450 (0xe06a)

lri $AR1,    #0x2543
lri $IX1,    #0xa036
lri $WR1,    #0x7b6a
cw 0x15
call send_back  ; 57451 (0xe06b)

lri $AR1,    #0x4684
lri $IX1,    #0xe55c
lri $WR1,    #0x811a
cw 0x15
call send_back  ; 57452 (0xe06c)

lri $AR1,    #0x84af
lri $IX1,    #0x83e6
lri $WR1,    #0xc7d1
cw 0x15
call send_back  ; 57453 (0xe06d)

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