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

lri $AR1,    #0x35fd
lri $IX1,    #0x390e
lri $WR1,    #0xbc33
cw 0x15
call send_back  ; 9395 (0x24b3)

lri $AR1,    #0x39ae
lri $IX1,    #0x99e0
lri $WR1,    #0xc476
cw 0x15
call send_back  ; 9396 (0x24b4)

lri $AR1,    #0x4f18
lri $IX1,    #0x1ff6
lri $WR1,    #0xbd31
cw 0x15
call send_back  ; 9397 (0x24b5)

lri $AR1,    #0xa092
lri $IX1,    #0x9ad8
lri $WR1,    #0xaa3f
cw 0x15
call send_back  ; 9398 (0x24b6)

lri $AR1,    #0x99f9
lri $IX1,    #0xfdc8
lri $WR1,    #0xde54
cw 0x15
call send_back  ; 9399 (0x24b7)

lri $AR1,    #0x78a3
lri $IX1,    #0x8b66
lri $WR1,    #0x7a79
cw 0x15
call send_back  ; 9400 (0x24b8)

lri $AR1,    #0x63e0
lri $IX1,    #0x68f4
lri $WR1,    #0xb045
cw 0x15
call send_back  ; 9401 (0x24b9)

lri $AR1,    #0xc43f
lri $IX1,    #0x1052
lri $WR1,    #0x4c57
cw 0x15
call send_back  ; 9402 (0x24ba)

lri $AR1,    #0x8372
lri $IX1,    #0x886e
lri $WR1,    #0xe029
cw 0x15
call send_back  ; 9403 (0x24bb)

lri $AR1,    #0xc61f
lri $IX1,    #0xa856
lri $WR1,    #0x77cd
cw 0x15
call send_back  ; 9404 (0x24bc)

lri $AR1,    #0xec7b
lri $IX1,    #0x11a0
lri $WR1,    #0x8193
cw 0x15
call send_back  ; 9405 (0x24bd)

lri $AR1,    #0x95dc
lri $IX1,    #0x234e
lri $WR1,    #0x4b42
cw 0x15
call send_back  ; 9406 (0x24be)

lri $AR1,    #0x6740
lri $IX1,    #0x06e8
lri $WR1,    #0x99e4
cw 0x15
call send_back  ; 9407 (0x24bf)

lri $AR1,    #0x4bf3
lri $IX1,    #0x45f4
lri $WR1,    #0xc6b0
cw 0x15
call send_back  ; 9408 (0x24c0)

lri $AR1,    #0x333d
lri $IX1,    #0x2e86
lri $WR1,    #0xd538
cw 0x15
call send_back  ; 9409 (0x24c1)

lri $AR1,    #0xcd53
lri $IX1,    #0xd212
lri $WR1,    #0x844e
cw 0x15
call send_back  ; 9410 (0x24c2)

lri $AR1,    #0x5d74
lri $IX1,    #0xba22
lri $WR1,    #0x4ccd
cw 0x15
call send_back  ; 9411 (0x24c3)

lri $AR1,    #0x3e63
lri $IX1,    #0xab44
lri $WR1,    #0x76ba
cw 0x15
call send_back  ; 9412 (0x24c4)

lri $AR1,    #0x1231
lri $IX1,    #0x16b8
lri $WR1,    #0xc6e9
cw 0x15
call send_back  ; 9413 (0x24c5)

lri $AR1,    #0x2587
lri $IX1,    #0x5028
lri $WR1,    #0xa49e
cw 0x15
call send_back  ; 9414 (0x24c6)

lri $AR1,    #0x3255
lri $IX1,    #0x5d14
lri $WR1,    #0x5845
cw 0x15
call send_back  ; 9415 (0x24c7)

lri $AR1,    #0x452d
lri $IX1,    #0x6018
lri $WR1,    #0x89da
cw 0x15
call send_back  ; 9416 (0x24c8)

lri $AR1,    #0x741c
lri $IX1,    #0x5acc
lri $WR1,    #0x4ef3
cw 0x15
call send_back  ; 9417 (0x24c9)

lri $AR1,    #0x3552
lri $IX1,    #0x6564
lri $WR1,    #0x462c
cw 0x15
call send_back  ; 9418 (0x24ca)

lri $AR1,    #0xd765
lri $IX1,    #0xabb8
lri $WR1,    #0xcec8
cw 0x15
call send_back  ; 9419 (0x24cb)

lri $AR1,    #0x4488
lri $IX1,    #0x9c06
lri $WR1,    #0x4157
cw 0x15
call send_back  ; 9420 (0x24cc)

lri $AR1,    #0xb57b
lri $IX1,    #0xdbe8
lri $WR1,    #0x873d
cw 0x15
call send_back  ; 9421 (0x24cd)

lri $AR1,    #0xa885
lri $IX1,    #0xece2
lri $WR1,    #0x6ccb
cw 0x15
call send_back  ; 9422 (0x24ce)

lri $AR1,    #0xb45c
lri $IX1,    #0x0a18
lri $WR1,    #0xeae4
cw 0x15
call send_back  ; 9423 (0x24cf)

lri $AR1,    #0x8623
lri $IX1,    #0xd570
lri $WR1,    #0x4ad0
cw 0x15
call send_back  ; 9424 (0x24d0)

lri $AR1,    #0x6581
lri $IX1,    #0x02b4
lri $WR1,    #0xd043
cw 0x15
call send_back  ; 9425 (0x24d1)

lri $AR1,    #0x58ec
lri $IX1,    #0x7404
lri $WR1,    #0x6328
cw 0x15
call send_back  ; 9426 (0x24d2)

lri $AR1,    #0x5828
lri $IX1,    #0x4b40
lri $WR1,    #0x6444
cw 0x15
call send_back  ; 9427 (0x24d3)

lri $AR1,    #0x4223
lri $IX1,    #0x707c
lri $WR1,    #0x4d3d
cw 0x15
call send_back  ; 9428 (0x24d4)

lri $AR1,    #0x671b
lri $IX1,    #0x1660
lri $WR1,    #0xd619
cw 0x15
call send_back  ; 9429 (0x24d5)

lri $AR1,    #0x4749
lri $IX1,    #0xf97a
lri $WR1,    #0x77c5
cw 0x15
call send_back  ; 9430 (0x24d6)

lri $AR1,    #0x89f4
lri $IX1,    #0x9846
lri $WR1,    #0xa4a9
cw 0x15
call send_back  ; 9431 (0x24d7)

lri $AR1,    #0x8827
lri $IX1,    #0x8e1a
lri $WR1,    #0x55ed
cw 0x15
call send_back  ; 9432 (0x24d8)

lri $AR1,    #0x71ed
lri $IX1,    #0xb3a8
lri $WR1,    #0xf56f
cw 0x15
call send_back  ; 9433 (0x24d9)

lri $AR1,    #0x7456
lri $IX1,    #0xcc34
lri $WR1,    #0x99fe
cw 0x15
call send_back  ; 9434 (0x24da)

lri $AR1,    #0x3a1f
lri $IX1,    #0x7746
lri $WR1,    #0xdcec
cw 0x15
call send_back  ; 9435 (0x24db)

lri $AR1,    #0x8845
lri $IX1,    #0xfb04
lri $WR1,    #0xa587
cw 0x15
call send_back  ; 9436 (0x24dc)

lri $AR1,    #0x7352
lri $IX1,    #0x63ce
lri $WR1,    #0x8089
cw 0x15
call send_back  ; 9437 (0x24dd)

lri $AR1,    #0x99c5
lri $IX1,    #0x8a6e
lri $WR1,    #0xd706
cw 0x15
call send_back  ; 9438 (0x24de)

lri $AR1,    #0xd342
lri $IX1,    #0xf268
lri $WR1,    #0x79ff
cw 0x15
call send_back  ; 9439 (0x24df)

lri $AR1,    #0xbc0b
lri $IX1,    #0x3eb6
lri $WR1,    #0x5d0b
cw 0x15
call send_back  ; 9440 (0x24e0)

lri $AR1,    #0x4f62
lri $IX1,    #0x539c
lri $WR1,    #0x6442
cw 0x15
call send_back  ; 9441 (0x24e1)

lri $AR1,    #0x4340
lri $IX1,    #0x40ae
lri $WR1,    #0xb6e7
cw 0x15
call send_back  ; 9442 (0x24e2)

lri $AR1,    #0x6b2c
lri $IX1,    #0xded8
lri $WR1,    #0x79ea
cw 0x15
call send_back  ; 9443 (0x24e3)

lri $AR1,    #0x6f80
lri $IX1,    #0xca7a
lri $WR1,    #0x8acf
cw 0x15
call send_back  ; 9444 (0x24e4)

lri $AR1,    #0x81e5
lri $IX1,    #0x2a60
lri $WR1,    #0xad13
cw 0x15
call send_back  ; 9445 (0x24e5)

lri $AR1,    #0xc769
lri $IX1,    #0xa8be
lri $WR1,    #0x7987
cw 0x15
call send_back  ; 9446 (0x24e6)

lri $AR1,    #0xd3e6
lri $IX1,    #0x43cc
lri $WR1,    #0x20cf
cw 0x15
call send_back  ; 9447 (0x24e7)

lri $AR1,    #0xaa21
lri $IX1,    #0x485e
lri $WR1,    #0x9784
cw 0x15
call send_back  ; 9448 (0x24e8)

lri $AR1,    #0x9f62
lri $IX1,    #0x00fa
lri $WR1,    #0x6c06
cw 0x15
call send_back  ; 9449 (0x24e9)

lri $AR1,    #0x20db
lri $IX1,    #0x88b2
lri $WR1,    #0xb39e
cw 0x15
call send_back  ; 9450 (0x24ea)

lri $AR1,    #0x8cb1
lri $IX1,    #0xe184
lri $WR1,    #0x8de6
cw 0x15
call send_back  ; 9451 (0x24eb)

lri $AR1,    #0x77e5
lri $IX1,    #0x0a3e
lri $WR1,    #0x9330
cw 0x15
call send_back  ; 9452 (0x24ec)

lri $AR1,    #0x3614
lri $IX1,    #0x78c6
lri $WR1,    #0x7bc4
cw 0x15
call send_back  ; 9453 (0x24ed)

lri $AR1,    #0xa729
lri $IX1,    #0x31e6
lri $WR1,    #0x4bc2
cw 0x15
call send_back  ; 9454 (0x24ee)

lri $AR1,    #0x9303
lri $IX1,    #0xd844
lri $WR1,    #0xb084
cw 0x15
call send_back  ; 9455 (0x24ef)

lri $AR1,    #0x923b
lri $IX1,    #0x98b4
lri $WR1,    #0x6232
cw 0x15
call send_back  ; 9456 (0x24f0)

lri $AR1,    #0x8ef0
lri $IX1,    #0xf2b0
lri $WR1,    #0xa586
cw 0x15
call send_back  ; 9457 (0x24f1)

lri $AR1,    #0x27dd
lri $IX1,    #0x1ffe
lri $WR1,    #0xd75b
cw 0x15
call send_back  ; 9458 (0x24f2)

lri $AR1,    #0x938e
lri $IX1,    #0x6f5a
lri $WR1,    #0x9d0d
cw 0x15
call send_back  ; 9459 (0x24f3)

lri $AR1,    #0x6907
lri $IX1,    #0x622c
lri $WR1,    #0xca41
cw 0x15
call send_back  ; 9460 (0x24f4)

lri $AR1,    #0xcea1
lri $IX1,    #0xe62a
lri $WR1,    #0xa625
cw 0x15
call send_back  ; 9461 (0x24f5)

lri $AR1,    #0x5f77
lri $IX1,    #0xb7e6
lri $WR1,    #0xd7b0
cw 0x15
call send_back  ; 9462 (0x24f6)

lri $AR1,    #0x7b3b
lri $IX1,    #0xfc1a
lri $WR1,    #0x4206
cw 0x15
call send_back  ; 9463 (0x24f7)

lri $AR1,    #0x8bab
lri $IX1,    #0x89d4
lri $WR1,    #0xdf6e
cw 0x15
call send_back  ; 9464 (0x24f8)

lri $AR1,    #0x768c
lri $IX1,    #0x582e
lri $WR1,    #0x930b
cw 0x15
call send_back  ; 9465 (0x24f9)

lri $AR1,    #0x5274
lri $IX1,    #0x26d0
lri $WR1,    #0x56db
cw 0x15
call send_back  ; 9466 (0x24fa)

lri $AR1,    #0x6828
lri $IX1,    #0xe8e6
lri $WR1,    #0x7d09
cw 0x15
call send_back  ; 9467 (0x24fb)

lri $AR1,    #0x71fa
lri $IX1,    #0xd6a4
lri $WR1,    #0xd11f
cw 0x15
call send_back  ; 9468 (0x24fc)

lri $AR1,    #0x45ce
lri $IX1,    #0x723c
lri $WR1,    #0x9f40
cw 0x15
call send_back  ; 9469 (0x24fd)

lri $AR1,    #0x8644
lri $IX1,    #0x613a
lri $WR1,    #0x64cf
cw 0x15
call send_back  ; 9470 (0x24fe)

lri $AR1,    #0x7ab0
lri $IX1,    #0xdc1e
lri $WR1,    #0x8fc3
cw 0x15
call send_back  ; 9471 (0x24ff)

lri $AR1,    #0x2542
lri $IX1,    #0xc25c
lri $WR1,    #0x9714
cw 0x15
call send_back  ; 9472 (0x2500)

lri $AR1,    #0x7a3a
lri $IX1,    #0x3960
lri $WR1,    #0x405f
cw 0x15
call send_back  ; 9473 (0x2501)

lri $AR1,    #0x9a53
lri $IX1,    #0x41e6
lri $WR1,    #0x7456
cw 0x15
call send_back  ; 9474 (0x2502)

lri $AR1,    #0x8660
lri $IX1,    #0xff36
lri $WR1,    #0xf500
cw 0x15
call send_back  ; 9475 (0x2503)

lri $AR1,    #0xc94c
lri $IX1,    #0xa884
lri $WR1,    #0x7e62
cw 0x15
call send_back  ; 9476 (0x2504)

lri $AR1,    #0x715d
lri $IX1,    #0x652c
lri $WR1,    #0xb39e
cw 0x15
call send_back  ; 9477 (0x2505)

lri $AR1,    #0x4103
lri $IX1,    #0xc8e2
lri $WR1,    #0x9814
cw 0x15
call send_back  ; 9478 (0x2506)

lri $AR1,    #0xa303
lri $IX1,    #0x659e
lri $WR1,    #0x95a1
cw 0x15
call send_back  ; 9479 (0x2507)

lri $AR1,    #0x8554
lri $IX1,    #0x156a
lri $WR1,    #0x967c
cw 0x15
call send_back  ; 9480 (0x2508)

lri $AR1,    #0x297b
lri $IX1,    #0x56b6
lri $WR1,    #0x62cc
cw 0x15
call send_back  ; 9481 (0x2509)

lri $AR1,    #0x18ad
lri $IX1,    #0x7a7e
lri $WR1,    #0x9f86
cw 0x15
call send_back  ; 9482 (0x250a)

lri $AR1,    #0x9d98
lri $IX1,    #0x93d8
lri $WR1,    #0xdd9f
cw 0x15
call send_back  ; 9483 (0x250b)

lri $AR1,    #0x4d12
lri $IX1,    #0x3528
lri $WR1,    #0x7e26
cw 0x15
call send_back  ; 9484 (0x250c)

lri $AR1,    #0xa291
lri $IX1,    #0x2fa4
lri $WR1,    #0xa94b
cw 0x15
call send_back  ; 9485 (0x250d)

lri $AR1,    #0x64a5
lri $IX1,    #0xde58
lri $WR1,    #0x93fd
cw 0x15
call send_back  ; 9486 (0x250e)

lri $AR1,    #0x4957
lri $IX1,    #0x2668
lri $WR1,    #0xb10d
cw 0x15
call send_back  ; 9487 (0x250f)

lri $AR1,    #0x89b2
lri $IX1,    #0x629c
lri $WR1,    #0x9081
cw 0x15
call send_back  ; 9488 (0x2510)

lri $AR1,    #0x1f52
lri $IX1,    #0x091e
lri $WR1,    #0x791b
cw 0x15
call send_back  ; 9489 (0x2511)

lri $AR1,    #0x2634
lri $IX1,    #0x1e56
lri $WR1,    #0x95a5
cw 0x15
call send_back  ; 9490 (0x2512)

lri $AR1,    #0x30b0
lri $IX1,    #0x98dc
lri $WR1,    #0xc111
cw 0x15
call send_back  ; 9491 (0x2513)

lri $AR1,    #0xa2dc
lri $IX1,    #0xd670
lri $WR1,    #0x7204
cw 0x15
call send_back  ; 9492 (0x2514)

lri $AR1,    #0xc62b
lri $IX1,    #0x4ad4
lri $WR1,    #0xdfd0
cw 0x15
call send_back  ; 9493 (0x2515)

lri $AR1,    #0x159d
lri $IX1,    #0xc5a0
lri $WR1,    #0x9881
cw 0x15
call send_back  ; 9494 (0x2516)

lri $AR1,    #0xa64e
lri $IX1,    #0x2cc8
lri $WR1,    #0xc0ee
cw 0x15
call send_back  ; 9495 (0x2517)

lri $AR1,    #0x67ae
lri $IX1,    #0x7612
lri $WR1,    #0x7d7d
cw 0x15
call send_back  ; 9496 (0x2518)

lri $AR1,    #0x2240
lri $IX1,    #0x2204
lri $WR1,    #0xeb98
cw 0x15
call send_back  ; 9497 (0x2519)

lri $AR1,    #0x7b19
lri $IX1,    #0x9faa
lri $WR1,    #0x816e
cw 0x15
call send_back  ; 9498 (0x251a)

lri $AR1,    #0xb60d
lri $IX1,    #0xf0ce
lri $WR1,    #0x7afe
cw 0x15
call send_back  ; 9499 (0x251b)

lri $AR1,    #0x57be
lri $IX1,    #0xc2ba
lri $WR1,    #0x9114
cw 0x15
call send_back  ; 9500 (0x251c)

lri $AR1,    #0x846c
lri $IX1,    #0x186c
lri $WR1,    #0x7038
cw 0x15
call send_back  ; 9501 (0x251d)

lri $AR1,    #0xe7dc
lri $IX1,    #0xb732
lri $WR1,    #0xa31d
cw 0x15
call send_back  ; 9502 (0x251e)

lri $AR1,    #0x7609
lri $IX1,    #0xe790
lri $WR1,    #0x45b0
cw 0x15
call send_back  ; 9503 (0x251f)

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