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

lri $AR1,    #0x9731
lri $IX1,    #0xbdc0
lri $WR1,    #0x373a
cw 0xd
call send_back  ; 49371 (0xc0db)

lri $AR1,    #0x7246
lri $IX1,    #0xe766
lri $WR1,    #0xa0ae
cw 0xd
call send_back  ; 49372 (0xc0dc)

lri $AR1,    #0x9c7f
lri $IX1,    #0x0818
lri $WR1,    #0xa033
cw 0xd
call send_back  ; 49373 (0xc0dd)

lri $AR1,    #0xaef7
lri $IX1,    #0x56b4
lri $WR1,    #0xb001
cw 0xd
call send_back  ; 49374 (0xc0de)

lri $AR1,    #0xb2f6
lri $IX1,    #0xce50
lri $WR1,    #0xe536
cw 0xd
call send_back  ; 49375 (0xc0df)

lri $AR1,    #0x155e
lri $IX1,    #0x6194
lri $WR1,    #0x328c
cw 0xd
call send_back  ; 49376 (0xc0e0)

lri $AR1,    #0xe90f
lri $IX1,    #0x40de
lri $WR1,    #0x7e38
cw 0xd
call send_back  ; 49377 (0xc0e1)

lri $AR1,    #0xaaa4
lri $IX1,    #0x1836
lri $WR1,    #0x7c9d
cw 0xd
call send_back  ; 49378 (0xc0e2)

lri $AR1,    #0x4b43
lri $IX1,    #0x5952
lri $WR1,    #0xb2cc
cw 0xd
call send_back  ; 49379 (0xc0e3)

lri $AR1,    #0x4fe4
lri $IX1,    #0xe972
lri $WR1,    #0xb96a
cw 0xd
call send_back  ; 49380 (0xc0e4)

lri $AR1,    #0xadd4
lri $IX1,    #0xc26a
lri $WR1,    #0xb212
cw 0xd
call send_back  ; 49381 (0xc0e5)

lri $AR1,    #0x9cbf
lri $IX1,    #0x21a8
lri $WR1,    #0x3eb6
cw 0xd
call send_back  ; 49382 (0xc0e6)

lri $AR1,    #0x3a1f
lri $IX1,    #0x9f90
lri $WR1,    #0x8c1b
cw 0xd
call send_back  ; 49383 (0xc0e7)

lri $AR1,    #0xf158
lri $IX1,    #0xdcf0
lri $WR1,    #0x85f9
cw 0xd
call send_back  ; 49384 (0xc0e8)

lri $AR1,    #0x8754
lri $IX1,    #0x3be4
lri $WR1,    #0x74d0
cw 0xd
call send_back  ; 49385 (0xc0e9)

lri $AR1,    #0xc7e3
lri $IX1,    #0x34f4
lri $WR1,    #0xf307
cw 0xd
call send_back  ; 49386 (0xc0ea)

lri $AR1,    #0x86ca
lri $IX1,    #0x28ca
lri $WR1,    #0x385d
cw 0xd
call send_back  ; 49387 (0xc0eb)

lri $AR1,    #0xcdae
lri $IX1,    #0xf234
lri $WR1,    #0x903e
cw 0xd
call send_back  ; 49388 (0xc0ec)

lri $AR1,    #0x8bc8
lri $IX1,    #0xd3ea
lri $WR1,    #0x4917
cw 0xd
call send_back  ; 49389 (0xc0ed)

lri $AR1,    #0xcba3
lri $IX1,    #0x88c2
lri $WR1,    #0x6825
cw 0xd
call send_back  ; 49390 (0xc0ee)

lri $AR1,    #0xb6c0
lri $IX1,    #0x1cbc
lri $WR1,    #0xcee4
cw 0xd
call send_back  ; 49391 (0xc0ef)

lri $AR1,    #0x6656
lri $IX1,    #0xa89e
lri $WR1,    #0xa49a
cw 0xd
call send_back  ; 49392 (0xc0f0)

lri $AR1,    #0x8c25
lri $IX1,    #0xf192
lri $WR1,    #0x2023
cw 0xd
call send_back  ; 49393 (0xc0f1)

lri $AR1,    #0xbd89
lri $IX1,    #0x296c
lri $WR1,    #0x9b7a
cw 0xd
call send_back  ; 49394 (0xc0f2)

lri $AR1,    #0x7ead
lri $IX1,    #0x7c18
lri $WR1,    #0x8c18
cw 0xd
call send_back  ; 49395 (0xc0f3)

lri $AR1,    #0xf335
lri $IX1,    #0x99c8
lri $WR1,    #0x70c4
cw 0xd
call send_back  ; 49396 (0xc0f4)

lri $AR1,    #0x3518
lri $IX1,    #0xe568
lri $WR1,    #0x5ecb
cw 0xd
call send_back  ; 49397 (0xc0f5)

lri $AR1,    #0x2215
lri $IX1,    #0x3a08
lri $WR1,    #0x7648
cw 0xd
call send_back  ; 49398 (0xc0f6)

lri $AR1,    #0x537b
lri $IX1,    #0x398a
lri $WR1,    #0x867b
cw 0xd
call send_back  ; 49399 (0xc0f7)

lri $AR1,    #0xcbaa
lri $IX1,    #0xaa82
lri $WR1,    #0x70ca
cw 0xd
call send_back  ; 49400 (0xc0f8)

lri $AR1,    #0x9005
lri $IX1,    #0x7278
lri $WR1,    #0xc27c
cw 0xd
call send_back  ; 49401 (0xc0f9)

lri $AR1,    #0x45c3
lri $IX1,    #0x155e
lri $WR1,    #0x6aac
cw 0xd
call send_back  ; 49402 (0xc0fa)

lri $AR1,    #0x5b4b
lri $IX1,    #0x32b0
lri $WR1,    #0xc3a6
cw 0xd
call send_back  ; 49403 (0xc0fb)

lri $AR1,    #0x2f8a
lri $IX1,    #0x1bd4
lri $WR1,    #0x3c15
cw 0xd
call send_back  ; 49404 (0xc0fc)

lri $AR1,    #0x640a
lri $IX1,    #0x373a
lri $WR1,    #0x263a
cw 0xd
call send_back  ; 49405 (0xc0fd)

lri $AR1,    #0x7606
lri $IX1,    #0x4ef8
lri $WR1,    #0x709a
cw 0xd
call send_back  ; 49406 (0xc0fe)

lri $AR1,    #0xbe74
lri $IX1,    #0x092a
lri $WR1,    #0xad4b
cw 0xd
call send_back  ; 49407 (0xc0ff)

lri $AR1,    #0x7026
lri $IX1,    #0x7bfe
lri $WR1,    #0x3264
cw 0xd
call send_back  ; 49408 (0xc100)

lri $AR1,    #0x76f7
lri $IX1,    #0xf6a8
lri $WR1,    #0xa7a4
cw 0xd
call send_back  ; 49409 (0xc101)

lri $AR1,    #0x9a47
lri $IX1,    #0x940c
lri $WR1,    #0xe2db
cw 0xd
call send_back  ; 49410 (0xc102)

lri $AR1,    #0xd886
lri $IX1,    #0xdb84
lri $WR1,    #0x6632
cw 0xd
call send_back  ; 49411 (0xc103)

lri $AR1,    #0x7941
lri $IX1,    #0x7778
lri $WR1,    #0x88cd
cw 0xd
call send_back  ; 49412 (0xc104)

lri $AR1,    #0xae5d
lri $IX1,    #0xc130
lri $WR1,    #0x2bee
cw 0xd
call send_back  ; 49413 (0xc105)

lri $AR1,    #0xace9
lri $IX1,    #0x6c94
lri $WR1,    #0xbc14
cw 0xd
call send_back  ; 49414 (0xc106)

lri $AR1,    #0xc94b
lri $IX1,    #0xde4e
lri $WR1,    #0x7f3e
cw 0xd
call send_back  ; 49415 (0xc107)

lri $AR1,    #0xba1b
lri $IX1,    #0x89f4
lri $WR1,    #0xb6c0
cw 0xd
call send_back  ; 49416 (0xc108)

lri $AR1,    #0x907d
lri $IX1,    #0xfdb6
lri $WR1,    #0xc4e5
cw 0xd
call send_back  ; 49417 (0xc109)

lri $AR1,    #0x9445
lri $IX1,    #0xdc3a
lri $WR1,    #0xb3c0
cw 0xd
call send_back  ; 49418 (0xc10a)

lri $AR1,    #0xe5c1
lri $IX1,    #0xd506
lri $WR1,    #0x8c66
cw 0xd
call send_back  ; 49419 (0xc10b)

lri $AR1,    #0x6e6b
lri $IX1,    #0x8f58
lri $WR1,    #0x4304
cw 0xd
call send_back  ; 49420 (0xc10c)

lri $AR1,    #0x2555
lri $IX1,    #0x529c
lri $WR1,    #0x75ef
cw 0xd
call send_back  ; 49421 (0xc10d)

lri $AR1,    #0xdbaf
lri $IX1,    #0xe360
lri $WR1,    #0xbb30
cw 0xd
call send_back  ; 49422 (0xc10e)

lri $AR1,    #0x8923
lri $IX1,    #0x6b28
lri $WR1,    #0x19bd
cw 0xd
call send_back  ; 49423 (0xc10f)

lri $AR1,    #0xc75d
lri $IX1,    #0x34c6
lri $WR1,    #0x70b9
cw 0xd
call send_back  ; 49424 (0xc110)

lri $AR1,    #0xb797
lri $IX1,    #0x6eb4
lri $WR1,    #0x5908
cw 0xd
call send_back  ; 49425 (0xc111)

lri $AR1,    #0xcc70
lri $IX1,    #0xe026
lri $WR1,    #0x5a92
cw 0xd
call send_back  ; 49426 (0xc112)

lri $AR1,    #0xc5df
lri $IX1,    #0x6d26
lri $WR1,    #0x806b
cw 0xd
call send_back  ; 49427 (0xc113)

lri $AR1,    #0x7499
lri $IX1,    #0x4994
lri $WR1,    #0x4c56
cw 0xd
call send_back  ; 49428 (0xc114)

lri $AR1,    #0x75b2
lri $IX1,    #0xb24e
lri $WR1,    #0xa3c7
cw 0xd
call send_back  ; 49429 (0xc115)

lri $AR1,    #0x66cb
lri $IX1,    #0xcf5e
lri $WR1,    #0xede9
cw 0xd
call send_back  ; 49430 (0xc116)

lri $AR1,    #0x769d
lri $IX1,    #0xe16c
lri $WR1,    #0x1bb2
cw 0xd
call send_back  ; 49431 (0xc117)

lri $AR1,    #0x8d3d
lri $IX1,    #0xf054
lri $WR1,    #0x98aa
cw 0xd
call send_back  ; 49432 (0xc118)

lri $AR1,    #0x72c9
lri $IX1,    #0xb832
lri $WR1,    #0x8c59
cw 0xd
call send_back  ; 49433 (0xc119)

lri $AR1,    #0xbaf9
lri $IX1,    #0x6d94
lri $WR1,    #0xc20f
cw 0xd
call send_back  ; 49434 (0xc11a)

lri $AR1,    #0x2f3f
lri $IX1,    #0x0158
lri $WR1,    #0x5dec
cw 0xd
call send_back  ; 49435 (0xc11b)

lri $AR1,    #0x58de
lri $IX1,    #0xafce
lri $WR1,    #0x9bdb
cw 0xd
call send_back  ; 49436 (0xc11c)

lri $AR1,    #0x87b9
lri $IX1,    #0xbe9c
lri $WR1,    #0x8e83
cw 0xd
call send_back  ; 49437 (0xc11d)

lri $AR1,    #0xa22e
lri $IX1,    #0x380e
lri $WR1,    #0x11b8
cw 0xd
call send_back  ; 49438 (0xc11e)

lri $AR1,    #0x8ddd
lri $IX1,    #0x1248
lri $WR1,    #0x4588
cw 0xd
call send_back  ; 49439 (0xc11f)

lri $AR1,    #0xf88d
lri $IX1,    #0x6404
lri $WR1,    #0x4c6a
cw 0xd
call send_back  ; 49440 (0xc120)

lri $AR1,    #0x1414
lri $IX1,    #0xf042
lri $WR1,    #0x90a2
cw 0xd
call send_back  ; 49441 (0xc121)

lri $AR1,    #0xd793
lri $IX1,    #0x4dc8
lri $WR1,    #0x6270
cw 0xd
call send_back  ; 49442 (0xc122)

lri $AR1,    #0x6bc6
lri $IX1,    #0x1e8e
lri $WR1,    #0xb212
cw 0xd
call send_back  ; 49443 (0xc123)

lri $AR1,    #0xefcd
lri $IX1,    #0x0f2a
lri $WR1,    #0x5e2e
cw 0xd
call send_back  ; 49444 (0xc124)

lri $AR1,    #0x9f28
lri $IX1,    #0x8d56
lri $WR1,    #0x68aa
cw 0xd
call send_back  ; 49445 (0xc125)

lri $AR1,    #0x714a
lri $IX1,    #0x3074
lri $WR1,    #0x4198
cw 0xd
call send_back  ; 49446 (0xc126)

lri $AR1,    #0xee83
lri $IX1,    #0x8e72
lri $WR1,    #0x992a
cw 0xd
call send_back  ; 49447 (0xc127)

lri $AR1,    #0x8d9e
lri $IX1,    #0x8ab4
lri $WR1,    #0x2f55
cw 0xd
call send_back  ; 49448 (0xc128)

lri $AR1,    #0x58fa
lri $IX1,    #0xf478
lri $WR1,    #0x412a
cw 0xd
call send_back  ; 49449 (0xc129)

lri $AR1,    #0xb96f
lri $IX1,    #0x6582
lri $WR1,    #0x616c
cw 0xd
call send_back  ; 49450 (0xc12a)

lri $AR1,    #0x78d5
lri $IX1,    #0xa13a
lri $WR1,    #0x9b89
cw 0xd
call send_back  ; 49451 (0xc12b)

lri $AR1,    #0x3576
lri $IX1,    #0x1848
lri $WR1,    #0x9569
cw 0xd
call send_back  ; 49452 (0xc12c)

lri $AR1,    #0x7b45
lri $IX1,    #0x8bcc
lri $WR1,    #0x5e48
cw 0xd
call send_back  ; 49453 (0xc12d)

lri $AR1,    #0x6713
lri $IX1,    #0xf712
lri $WR1,    #0x9601
cw 0xd
call send_back  ; 49454 (0xc12e)

lri $AR1,    #0x7bb2
lri $IX1,    #0xc61c
lri $WR1,    #0x79ff
cw 0xd
call send_back  ; 49455 (0xc12f)

lri $AR1,    #0x8844
lri $IX1,    #0xd2c8
lri $WR1,    #0x8a46
cw 0xd
call send_back  ; 49456 (0xc130)

lri $AR1,    #0x8a7e
lri $IX1,    #0x89e6
lri $WR1,    #0xc2bf
cw 0xd
call send_back  ; 49457 (0xc131)

lri $AR1,    #0xb73f
lri $IX1,    #0xd502
lri $WR1,    #0x3242
cw 0xd
call send_back  ; 49458 (0xc132)

lri $AR1,    #0xa74d
lri $IX1,    #0xd54c
lri $WR1,    #0x6a78
cw 0xd
call send_back  ; 49459 (0xc133)

lri $AR1,    #0xed6d
lri $IX1,    #0xff4c
lri $WR1,    #0x3925
cw 0xd
call send_back  ; 49460 (0xc134)

lri $AR1,    #0x76d0
lri $IX1,    #0x9ed4
lri $WR1,    #0xb4e5
cw 0xd
call send_back  ; 49461 (0xc135)

lri $AR1,    #0x65f8
lri $IX1,    #0x15e8
lri $WR1,    #0xc4f0
cw 0xd
call send_back  ; 49462 (0xc136)

lri $AR1,    #0x7c0c
lri $IX1,    #0x28f4
lri $WR1,    #0x4cf3
cw 0xd
call send_back  ; 49463 (0xc137)

lri $AR1,    #0x7bd0
lri $IX1,    #0x3e22
lri $WR1,    #0x6b95
cw 0xd
call send_back  ; 49464 (0xc138)

lri $AR1,    #0x9d1f
lri $IX1,    #0x7d1c
lri $WR1,    #0xa3a8
cw 0xd
call send_back  ; 49465 (0xc139)

lri $AR1,    #0x8736
lri $IX1,    #0x180e
lri $WR1,    #0xb5a8
cw 0xd
call send_back  ; 49466 (0xc13a)

lri $AR1,    #0xbb90
lri $IX1,    #0x9638
lri $WR1,    #0x408b
cw 0xd
call send_back  ; 49467 (0xc13b)

lri $AR1,    #0x42c2
lri $IX1,    #0x9bd4
lri $WR1,    #0xd67e
cw 0xd
call send_back  ; 49468 (0xc13c)

lri $AR1,    #0xa80a
lri $IX1,    #0x42bc
lri $WR1,    #0x6b8d
cw 0xd
call send_back  ; 49469 (0xc13d)

lri $AR1,    #0x3fec
lri $IX1,    #0x827a
lri $WR1,    #0x41dd
cw 0xd
call send_back  ; 49470 (0xc13e)

lri $AR1,    #0x39b2
lri $IX1,    #0x4630
lri $WR1,    #0x9870
cw 0xd
call send_back  ; 49471 (0xc13f)

lri $AR1,    #0x7313
lri $IX1,    #0x8224
lri $WR1,    #0xc71d
cw 0xd
call send_back  ; 49472 (0xc140)

lri $AR1,    #0xd0e3
lri $IX1,    #0xc22c
lri $WR1,    #0x7bb0
cw 0xd
call send_back  ; 49473 (0xc141)

lri $AR1,    #0x5f05
lri $IX1,    #0x25e6
lri $WR1,    #0x59da
cw 0xd
call send_back  ; 49474 (0xc142)

lri $AR1,    #0x8d81
lri $IX1,    #0x6ef0
lri $WR1,    #0x30ec
cw 0xd
call send_back  ; 49475 (0xc143)

lri $AR1,    #0x6809
lri $IX1,    #0x8908
lri $WR1,    #0x300c
cw 0xd
call send_back  ; 49476 (0xc144)

lri $AR1,    #0x80b7
lri $IX1,    #0xab5a
lri $WR1,    #0x5ac9
cw 0xd
call send_back  ; 49477 (0xc145)

lri $AR1,    #0x5663
lri $IX1,    #0xbdc8
lri $WR1,    #0xddc2
cw 0xd
call send_back  ; 49478 (0xc146)

lri $AR1,    #0xa247
lri $IX1,    #0xec80
lri $WR1,    #0xa460
cw 0xd
call send_back  ; 49479 (0xc147)

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