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

lri $AR1,    #0xd01e
lri $IX1,    #0x962c
lri $WR1,    #0xaa91
cw 0xd
call send_back  ; 51337 (0xc889)

lri $AR1,    #0x5048
lri $IX1,    #0x0044
lri $WR1,    #0x60ce
cw 0xd
call send_back  ; 51338 (0xc88a)

lri $AR1,    #0x5f3b
lri $IX1,    #0x4954
lri $WR1,    #0x7dc7
cw 0xd
call send_back  ; 51339 (0xc88b)

lri $AR1,    #0x79e2
lri $IX1,    #0x8fae
lri $WR1,    #0x586f
cw 0xd
call send_back  ; 51340 (0xc88c)

lri $AR1,    #0xdca3
lri $IX1,    #0x92b0
lri $WR1,    #0xaf3b
cw 0xd
call send_back  ; 51341 (0xc88d)

lri $AR1,    #0x24e7
lri $IX1,    #0x0cc0
lri $WR1,    #0x7ebc
cw 0xd
call send_back  ; 51342 (0xc88e)

lri $AR1,    #0xaa66
lri $IX1,    #0x9012
lri $WR1,    #0x9bca
cw 0xd
call send_back  ; 51343 (0xc88f)

lri $AR1,    #0x7fc4
lri $IX1,    #0xf00e
lri $WR1,    #0x93cd
cw 0xd
call send_back  ; 51344 (0xc890)

lri $AR1,    #0x950d
lri $IX1,    #0xa8a2
lri $WR1,    #0x9f4d
cw 0xd
call send_back  ; 51345 (0xc891)

lri $AR1,    #0xb694
lri $IX1,    #0x7054
lri $WR1,    #0xc034
cw 0xd
call send_back  ; 51346 (0xc892)

lri $AR1,    #0x75e5
lri $IX1,    #0x1164
lri $WR1,    #0x56fc
cw 0xd
call send_back  ; 51347 (0xc893)

lri $AR1,    #0x5228
lri $IX1,    #0xa9c6
lri $WR1,    #0xef2b
cw 0xd
call send_back  ; 51348 (0xc894)

lri $AR1,    #0x90c6
lri $IX1,    #0x694c
lri $WR1,    #0x9d5b
cw 0xd
call send_back  ; 51349 (0xc895)

lri $AR1,    #0x8693
lri $IX1,    #0xb0d2
lri $WR1,    #0x6638
cw 0xd
call send_back  ; 51350 (0xc896)

lri $AR1,    #0x755d
lri $IX1,    #0xf4b6
lri $WR1,    #0x279e
cw 0xd
call send_back  ; 51351 (0xc897)

lri $AR1,    #0x792c
lri $IX1,    #0xd86a
lri $WR1,    #0x4258
cw 0xd
call send_back  ; 51352 (0xc898)

lri $AR1,    #0xabf3
lri $IX1,    #0x8078
lri $WR1,    #0xac93
cw 0xd
call send_back  ; 51353 (0xc899)

lri $AR1,    #0x861e
lri $IX1,    #0xf3c8
lri $WR1,    #0x82a4
cw 0xd
call send_back  ; 51354 (0xc89a)

lri $AR1,    #0x75b2
lri $IX1,    #0x7468
lri $WR1,    #0x7d0b
cw 0xd
call send_back  ; 51355 (0xc89b)

lri $AR1,    #0x8d66
lri $IX1,    #0xdbbe
lri $WR1,    #0x487a
cw 0xd
call send_back  ; 51356 (0xc89c)

lri $AR1,    #0x6871
lri $IX1,    #0x1d62
lri $WR1,    #0x75bc
cw 0xd
call send_back  ; 51357 (0xc89d)

lri $AR1,    #0xcf66
lri $IX1,    #0xff78
lri $WR1,    #0x752a
cw 0xd
call send_back  ; 51358 (0xc89e)

lri $AR1,    #0x2df9
lri $IX1,    #0xb6d4
lri $WR1,    #0x32b3
cw 0xd
call send_back  ; 51359 (0xc89f)

lri $AR1,    #0x60e4
lri $IX1,    #0x48c4
lri $WR1,    #0x4d12
cw 0xd
call send_back  ; 51360 (0xc8a0)

lri $AR1,    #0xaed3
lri $IX1,    #0x3bc2
lri $WR1,    #0x6c32
cw 0xd
call send_back  ; 51361 (0xc8a1)

lri $AR1,    #0xbe98
lri $IX1,    #0x1be0
lri $WR1,    #0x4856
cw 0xd
call send_back  ; 51362 (0xc8a2)

lri $AR1,    #0x7085
lri $IX1,    #0x874e
lri $WR1,    #0x6520
cw 0xd
call send_back  ; 51363 (0xc8a3)

lri $AR1,    #0x882d
lri $IX1,    #0xbab6
lri $WR1,    #0x38f8
cw 0xd
call send_back  ; 51364 (0xc8a4)

lri $AR1,    #0x6f65
lri $IX1,    #0xccc4
lri $WR1,    #0x52ea
cw 0xd
call send_back  ; 51365 (0xc8a5)

lri $AR1,    #0x6ad3
lri $IX1,    #0xd3b2
lri $WR1,    #0x6e8b
cw 0xd
call send_back  ; 51366 (0xc8a6)

lri $AR1,    #0xbbdc
lri $IX1,    #0xef1e
lri $WR1,    #0x26f2
cw 0xd
call send_back  ; 51367 (0xc8a7)

lri $AR1,    #0x433f
lri $IX1,    #0x8402
lri $WR1,    #0x7f59
cw 0xd
call send_back  ; 51368 (0xc8a8)

lri $AR1,    #0xa32d
lri $IX1,    #0xc010
lri $WR1,    #0xa172
cw 0xd
call send_back  ; 51369 (0xc8a9)

lri $AR1,    #0x7f34
lri $IX1,    #0x955c
lri $WR1,    #0x5f06
cw 0xd
call send_back  ; 51370 (0xc8aa)

lri $AR1,    #0xabbf
lri $IX1,    #0xae8a
lri $WR1,    #0x95e4
cw 0xd
call send_back  ; 51371 (0xc8ab)

lri $AR1,    #0x468f
lri $IX1,    #0x3f50
lri $WR1,    #0x6abd
cw 0xd
call send_back  ; 51372 (0xc8ac)

lri $AR1,    #0xace6
lri $IX1,    #0xecc4
lri $WR1,    #0x48ee
cw 0xd
call send_back  ; 51373 (0xc8ad)

lri $AR1,    #0x73cc
lri $IX1,    #0x3404
lri $WR1,    #0x92d7
cw 0xd
call send_back  ; 51374 (0xc8ae)

lri $AR1,    #0x4a27
lri $IX1,    #0x95c8
lri $WR1,    #0xcfc6
cw 0xd
call send_back  ; 51375 (0xc8af)

lri $AR1,    #0x640d
lri $IX1,    #0x4082
lri $WR1,    #0x4a04
cw 0xd
call send_back  ; 51376 (0xc8b0)

lri $AR1,    #0x1a05
lri $IX1,    #0xda76
lri $WR1,    #0x591d
cw 0xd
call send_back  ; 51377 (0xc8b1)

lri $AR1,    #0xa6a5
lri $IX1,    #0x4882
lri $WR1,    #0x61ed
cw 0xd
call send_back  ; 51378 (0xc8b2)

lri $AR1,    #0xc044
lri $IX1,    #0xbe0c
lri $WR1,    #0x4782
cw 0xd
call send_back  ; 51379 (0xc8b3)

lri $AR1,    #0x941e
lri $IX1,    #0xe5b0
lri $WR1,    #0x7d65
cw 0xd
call send_back  ; 51380 (0xc8b4)

lri $AR1,    #0x43b6
lri $IX1,    #0x6a34
lri $WR1,    #0x8553
cw 0xd
call send_back  ; 51381 (0xc8b5)

lri $AR1,    #0x54c2
lri $IX1,    #0x726e
lri $WR1,    #0x4008
cw 0xd
call send_back  ; 51382 (0xc8b6)

lri $AR1,    #0x677d
lri $IX1,    #0xa282
lri $WR1,    #0x7a19
cw 0xd
call send_back  ; 51383 (0xc8b7)

lri $AR1,    #0xdea0
lri $IX1,    #0xc828
lri $WR1,    #0x636e
cw 0xd
call send_back  ; 51384 (0xc8b8)

lri $AR1,    #0xcfdb
lri $IX1,    #0x5f84
lri $WR1,    #0x897c
cw 0xd
call send_back  ; 51385 (0xc8b9)

lri $AR1,    #0xf31d
lri $IX1,    #0x7914
lri $WR1,    #0x59c6
cw 0xd
call send_back  ; 51386 (0xc8ba)

lri $AR1,    #0xba74
lri $IX1,    #0x1948
lri $WR1,    #0x83a4
cw 0xd
call send_back  ; 51387 (0xc8bb)

lri $AR1,    #0xa3eb
lri $IX1,    #0xcd76
lri $WR1,    #0xa607
cw 0xd
call send_back  ; 51388 (0xc8bc)

lri $AR1,    #0x9215
lri $IX1,    #0xc966
lri $WR1,    #0x6f21
cw 0xd
call send_back  ; 51389 (0xc8bd)

lri $AR1,    #0x67a7
lri $IX1,    #0x4c74
lri $WR1,    #0x1197
cw 0xd
call send_back  ; 51390 (0xc8be)

lri $AR1,    #0xa600
lri $IX1,    #0x2c7e
lri $WR1,    #0x9454
cw 0xd
call send_back  ; 51391 (0xc8bf)

lri $AR1,    #0xc5cd
lri $IX1,    #0x1858
lri $WR1,    #0x6770
cw 0xd
call send_back  ; 51392 (0xc8c0)

lri $AR1,    #0x4cb4
lri $IX1,    #0x4b4e
lri $WR1,    #0xb25b
cw 0xd
call send_back  ; 51393 (0xc8c1)

lri $AR1,    #0x224d
lri $IX1,    #0xe650
lri $WR1,    #0x5cc9
cw 0xd
call send_back  ; 51394 (0xc8c2)

lri $AR1,    #0xba31
lri $IX1,    #0xd330
lri $WR1,    #0x4573
cw 0xd
call send_back  ; 51395 (0xc8c3)

lri $AR1,    #0xb08b
lri $IX1,    #0xd9c4
lri $WR1,    #0xcf40
cw 0xd
call send_back  ; 51396 (0xc8c4)

lri $AR1,    #0xd1c6
lri $IX1,    #0x462a
lri $WR1,    #0x46e3
cw 0xd
call send_back  ; 51397 (0xc8c5)

lri $AR1,    #0x15ee
lri $IX1,    #0x0b18
lri $WR1,    #0x807f
cw 0xd
call send_back  ; 51398 (0xc8c6)

lri $AR1,    #0x3b52
lri $IX1,    #0x8a6e
lri $WR1,    #0xce63
cw 0xd
call send_back  ; 51399 (0xc8c7)

lri $AR1,    #0xc3e3
lri $IX1,    #0x01ee
lri $WR1,    #0x7766
cw 0xd
call send_back  ; 51400 (0xc8c8)

lri $AR1,    #0x840f
lri $IX1,    #0xe164
lri $WR1,    #0x7d03
cw 0xd
call send_back  ; 51401 (0xc8c9)

lri $AR1,    #0x9166
lri $IX1,    #0xeafa
lri $WR1,    #0xaeb3
cw 0xd
call send_back  ; 51402 (0xc8ca)

lri $AR1,    #0x92e0
lri $IX1,    #0xce36
lri $WR1,    #0x999a
cw 0xd
call send_back  ; 51403 (0xc8cb)

lri $AR1,    #0x1c0d
lri $IX1,    #0xd13e
lri $WR1,    #0xb928
cw 0xd
call send_back  ; 51404 (0xc8cc)

lri $AR1,    #0x380c
lri $IX1,    #0xf3d6
lri $WR1,    #0x46a3
cw 0xd
call send_back  ; 51405 (0xc8cd)

lri $AR1,    #0x7888
lri $IX1,    #0xa2da
lri $WR1,    #0x8338
cw 0xd
call send_back  ; 51406 (0xc8ce)

lri $AR1,    #0x2093
lri $IX1,    #0x7284
lri $WR1,    #0xb9ad
cw 0xd
call send_back  ; 51407 (0xc8cf)

lri $AR1,    #0x3ab5
lri $IX1,    #0x4952
lri $WR1,    #0x5a28
cw 0xd
call send_back  ; 51408 (0xc8d0)

lri $AR1,    #0x74f0
lri $IX1,    #0xccda
lri $WR1,    #0xdc3e
cw 0xd
call send_back  ; 51409 (0xc8d1)

lri $AR1,    #0x5d1e
lri $IX1,    #0x9d56
lri $WR1,    #0x60bb
cw 0xd
call send_back  ; 51410 (0xc8d2)

lri $AR1,    #0x6b5f
lri $IX1,    #0xdc4c
lri $WR1,    #0x3e42
cw 0xd
call send_back  ; 51411 (0xc8d3)

lri $AR1,    #0x9003
lri $IX1,    #0x7e04
lri $WR1,    #0x995c
cw 0xd
call send_back  ; 51412 (0xc8d4)

lri $AR1,    #0x95a8
lri $IX1,    #0xdd3a
lri $WR1,    #0x41ec
cw 0xd
call send_back  ; 51413 (0xc8d5)

lri $AR1,    #0x77e8
lri $IX1,    #0xd3be
lri $WR1,    #0xadbf
cw 0xd
call send_back  ; 51414 (0xc8d6)

lri $AR1,    #0xb269
lri $IX1,    #0x1a74
lri $WR1,    #0x691e
cw 0xd
call send_back  ; 51415 (0xc8d7)

lri $AR1,    #0xe395
lri $IX1,    #0xc664
lri $WR1,    #0x9c11
cw 0xd
call send_back  ; 51416 (0xc8d8)

lri $AR1,    #0x49d8
lri $IX1,    #0x4040
lri $WR1,    #0xac57
cw 0xd
call send_back  ; 51417 (0xc8d9)

lri $AR1,    #0x81a3
lri $IX1,    #0xef22
lri $WR1,    #0x719e
cw 0xd
call send_back  ; 51418 (0xc8da)

lri $AR1,    #0x5e12
lri $IX1,    #0xdee2
lri $WR1,    #0x4317
cw 0xd
call send_back  ; 51419 (0xc8db)

lri $AR1,    #0x1d81
lri $IX1,    #0xcdba
lri $WR1,    #0x3af2
cw 0xd
call send_back  ; 51420 (0xc8dc)

lri $AR1,    #0x76dd
lri $IX1,    #0x24a8
lri $WR1,    #0x45c6
cw 0xd
call send_back  ; 51421 (0xc8dd)

lri $AR1,    #0x6bff
lri $IX1,    #0x4946
lri $WR1,    #0x518b
cw 0xd
call send_back  ; 51422 (0xc8de)

lri $AR1,    #0x50f2
lri $IX1,    #0x576e
lri $WR1,    #0x911f
cw 0xd
call send_back  ; 51423 (0xc8df)

lri $AR1,    #0x6f55
lri $IX1,    #0x8486
lri $WR1,    #0xaefb
cw 0xd
call send_back  ; 51424 (0xc8e0)

lri $AR1,    #0x78c9
lri $IX1,    #0x15a8
lri $WR1,    #0x5316
cw 0xd
call send_back  ; 51425 (0xc8e1)

lri $AR1,    #0x7aa9
lri $IX1,    #0xcda4
lri $WR1,    #0x6d92
cw 0xd
call send_back  ; 51426 (0xc8e2)

lri $AR1,    #0x98db
lri $IX1,    #0xe6ec
lri $WR1,    #0x2940
cw 0xd
call send_back  ; 51427 (0xc8e3)

lri $AR1,    #0x5d18
lri $IX1,    #0xf180
lri $WR1,    #0x1e86
cw 0xd
call send_back  ; 51428 (0xc8e4)

lri $AR1,    #0x436b
lri $IX1,    #0x23f2
lri $WR1,    #0x38bd
cw 0xd
call send_back  ; 51429 (0xc8e5)

lri $AR1,    #0x3c41
lri $IX1,    #0xba72
lri $WR1,    #0x1d97
cw 0xd
call send_back  ; 51430 (0xc8e6)

lri $AR1,    #0x7fd3
lri $IX1,    #0xbe24
lri $WR1,    #0x279b
cw 0xd
call send_back  ; 51431 (0xc8e7)

lri $AR1,    #0xa647
lri $IX1,    #0xe298
lri $WR1,    #0x8a40
cw 0xd
call send_back  ; 51432 (0xc8e8)

lri $AR1,    #0x6346
lri $IX1,    #0xeea6
lri $WR1,    #0xdfc6
cw 0xd
call send_back  ; 51433 (0xc8e9)

lri $AR1,    #0x6361
lri $IX1,    #0x419c
lri $WR1,    #0x8e55
cw 0xd
call send_back  ; 51434 (0xc8ea)

lri $AR1,    #0x7d1b
lri $IX1,    #0x54da
lri $WR1,    #0x836a
cw 0xd
call send_back  ; 51435 (0xc8eb)

lri $AR1,    #0x8ed9
lri $IX1,    #0x7df8
lri $WR1,    #0x9a31
cw 0xd
call send_back  ; 51436 (0xc8ec)

lri $AR1,    #0x5e96
lri $IX1,    #0x8c68
lri $WR1,    #0x7ada
cw 0xd
call send_back  ; 51437 (0xc8ed)

lri $AR1,    #0x7f9c
lri $IX1,    #0x09c4
lri $WR1,    #0xbe5f
cw 0xd
call send_back  ; 51438 (0xc8ee)

lri $AR1,    #0x862c
lri $IX1,    #0xc2ca
lri $WR1,    #0x83fc
cw 0xd
call send_back  ; 51439 (0xc8ef)

lri $AR1,    #0x883d
lri $IX1,    #0xb2fe
lri $WR1,    #0xcaba
cw 0xd
call send_back  ; 51440 (0xc8f0)

lri $AR1,    #0x764f
lri $IX1,    #0x544c
lri $WR1,    #0x2b32
cw 0xd
call send_back  ; 51441 (0xc8f1)

lri $AR1,    #0x167d
lri $IX1,    #0x8f4a
lri $WR1,    #0x5b1f
cw 0xd
call send_back  ; 51442 (0xc8f2)

lri $AR1,    #0xbfb5
lri $IX1,    #0xf8a2
lri $WR1,    #0x95bc
cw 0xd
call send_back  ; 51443 (0xc8f3)

lri $AR1,    #0xba58
lri $IX1,    #0x8b44
lri $WR1,    #0x7990
cw 0xd
call send_back  ; 51444 (0xc8f4)

lri $AR1,    #0x471e
lri $IX1,    #0x86e0
lri $WR1,    #0x05a6
cw 0xd
call send_back  ; 51445 (0xc8f5)

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